diff --git a/arch/zig11/PKGBUILD b/arch/zig/zig11/PKGBUILD similarity index 100% rename from arch/zig11/PKGBUILD rename to arch/zig/zig11/PKGBUILD diff --git a/arch/zig/zig13/PKGBUILD b/arch/zig/zig13/PKGBUILD new file mode 100644 index 0000000..2974cb1 --- /dev/null +++ b/arch/zig/zig13/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Alexander Rosenberg + +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" +}