19 lines
546 B
Bash
19 lines
546 B
Bash
|
# 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"
|
||
|
}
|