Add zig13

This commit is contained in:
Alexander Rosenberg 2024-06-08 17:26:44 -07:00
parent 5a111a1c5b
commit c04320b0f6
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
2 changed files with 18 additions and 0 deletions

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