From 5a111a1c5bc823741796f60315ba923656443866 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 2 May 2024 22:24:27 -0700 Subject: [PATCH] Add zig11 --- arch/zig11/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/zig11/PKGBUILD diff --git a/arch/zig11/PKGBUILD b/arch/zig11/PKGBUILD new file mode 100644 index 0000000..72a3964 --- /dev/null +++ b/arch/zig11/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Alexander Rosenberg + +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" +}