Add zig11
This commit is contained in:
parent
e196a437b8
commit
5a111a1c5b
18
arch/zig11/PKGBUILD
Normal file
18
arch/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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user