# Maintainer: Kaizhao Zhang _buildver=0.6.0+3c43eecea pkgname=zig-dev-bin pkgver=20201008 pkgrel=1 pkgdesc="A general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software" arch=('x86_64') url="https://ziglang.org/" license=('MIT') provides=('zig') conflicts=('zig') source=( "https://ziglang.org/builds/zig-linux-x86_64-${_buildver}.tar.xz" ) sha256sums=( '19c9b974cf387c6ff83ce1983f0a155609df7c1c416f277c92d4a39560de0874' ) package() { cd "${srcdir}/zig-linux-x86_64-${_buildver}" install -D -m755 zig "${pkgdir}/usr/bin/zig" cp -R lib "${pkgdir}/usr" install -D -m644 langref.html "${pkgdir}/usr/share/doc/zig/langref.html" install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/zig/LICENSE" }