Add zig13
This commit is contained in:
parent
5a111a1c5b
commit
c04320b0f6
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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user