PKGBUILD 546 B

12345678910111213141516171819
  1. # Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
  2. pkgname='zig13'
  3. pkgver=0.13.0
  4. pkgrel=1
  5. pkgdesc='The zig programming language, version 0.11.0'
  6. url='https://ziglang.org'
  7. arch=('x86_64')
  8. license=('MIT')
  9. source=("$url/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz")
  10. sha256sums=('d45312e61ebcc48032b77bc4cf7fd6915c11fa16e4aad116b66c9468211230ea')
  11. package() {
  12. mkdir -p "$pkgdir/usr/lib/"
  13. mv "zig-linux-x86_64-0.13.0" "$pkgdir/usr/lib/zig13"
  14. mkdir -p "$pkgdir/usr/bin/"
  15. ln -s "/usr/lib/zig13/zig" "$pkgdir/usr/bin/zig13"
  16. }