build-scripts/arch/zig/zig13/PKGBUILD

19 lines
546 B
Bash
Raw Permalink Normal View History

2024-06-08 17:26:44 -07:00
# 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"
}