Compare commits
6 Commits
b55556604f
...
main
Author | SHA1 | Date | |
---|---|---|---|
28db08a751
|
|||
18c7328740
|
|||
c04320b0f6
|
|||
5a111a1c5b
|
|||
e196a437b8
|
|||
3da90660db
|
1
arch/cmigemo/.gitignore
vendored
Normal file
1
arch/cmigemo/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
cmigemo/
|
45
arch/cmigemo/PKGBUILD
Normal file
45
arch/cmigemo/PKGBUILD
Normal file
@ -0,0 +1,45 @@
|
||||
# Original: yuki-san <yuki.from.akita _at_ gmail.com>
|
||||
# Modified: TheRealOne78 <bajcsielias78 _at_ gmail.com>
|
||||
|
||||
pkgname=cmigemo-git
|
||||
pkgver=1_2.r49.ge0f6145
|
||||
pkgrel=1
|
||||
pkgdesc="An implementation of Migemo in C"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.kaoriya.net/software/cmigemo/"
|
||||
license=('MIT' 'custom')
|
||||
makedepends=('git' 'nkf' 'curl')
|
||||
provides=('cmigemo')
|
||||
conflicts=('cmigemo')
|
||||
source=("${pkgname%-git}"::'git+https://github.com/koron/cmigemo.git')
|
||||
md5sums=('SKIP')
|
||||
options=(!makeflags)
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
git describe --tags | sed -E 's/^[^0-9]*//; s/([^-]*-g)/r\1/; s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
|
||||
export LDFLAGS+="-z,relro,-z,now"
|
||||
|
||||
./configure --prefix=/usr
|
||||
make gcc
|
||||
make gcc-dict
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
|
||||
make prefix="$pkgdir"/usr docdir="$pkgdir"/usr/share/doc/cmigemo-git gcc-install
|
||||
install -d -m 755 "$pkgdir"/usr/share/licenses/cmigemo-git
|
||||
install -c -m 644 doc/LICENSE_j.txt "$pkgdir"/usr/share/licenses/cmigemo-git
|
||||
|
||||
find "$pkgdir" -type f -exec file {} \; | grep 'ELF' | cut -d: -f1 | while read -r binary; do
|
||||
patchelf --remove-rpath "$binary"
|
||||
done
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
28
arch/ristate/PKGBUILD
Normal file
28
arch/ristate/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
||||
|
||||
_pkgname='ristate'
|
||||
pkgname=$_pkgname-git
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc='Tool for querying river state.'
|
||||
url='https://git.zander.im/Zander671/ristate'
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
provides=($_pkgname)
|
||||
makedepends=('git' 'rust')
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver(){
|
||||
cd 'ristate'
|
||||
git rev-list --count HEAD
|
||||
}
|
||||
|
||||
build() {
|
||||
cd 'ristate'
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dt "$pkgdir/usr/bin/" "ristate/target/release/ristate"
|
||||
}
|
18
arch/zig/zig11/PKGBUILD
Normal file
18
arch/zig/zig11/PKGBUILD
Normal file
@ -0,0 +1,18 @@
|
||||
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
||||
|
||||
pkgname='zig11'
|
||||
pkgver=0.11.0
|
||||
pkgrel=1
|
||||
pkgdesc='The zig programming language, version 0.11.0'
|
||||
url='https://ziglang.org'
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
source=("$url/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz")
|
||||
sha256sums=('2d00e789fec4f71790a6e7bf83ff91d564943c5ee843c5fd966efc474b423047')
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/usr/lib/"
|
||||
mv "zig-linux-x86_64-0.11.0" "$pkgdir/usr/lib/zig11"
|
||||
mkdir -p "$pkgdir/usr/bin/"
|
||||
ln -s "/usr/lib/zig11/zig" "$pkgdir/usr/bin/zig11"
|
||||
}
|
18
arch/zig/zig13/PKGBUILD
Normal file
18
arch/zig/zig13/PKGBUILD
Normal file
@ -0,0 +1,18 @@
|
||||
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
||||
|
||||
pkgname='zig13'
|
||||
pkgver=0.13.0
|
||||
pkgrel=1
|
||||
pkgdesc='The zig programming language, version 0.11.0'
|
||||
url='https://ziglang.org'
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
source=("$url/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz")
|
||||
sha256sums=('d45312e61ebcc48032b77bc4cf7fd6915c11fa16e4aad116b66c9468211230ea')
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/usr/lib/"
|
||||
mv "zig-linux-x86_64-0.13.0" "$pkgdir/usr/lib/zig13"
|
||||
mkdir -p "$pkgdir/usr/bin/"
|
||||
ln -s "/usr/lib/zig13/zig" "$pkgdir/usr/bin/zig13"
|
||||
}
|
Reference in New Issue
Block a user