Add zig11

This commit is contained in:
Alexander Rosenberg 2024-05-02 22:24:27 -07:00
parent e196a437b8
commit 5a111a1c5b
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

18
arch/zig11/PKGBUILD Normal file
View 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"
}