Date: Friday, July 31, 2020 @ 12:04:38 Author: daurnimator Revision: 666154
archrelease: copy trunk to community-x86_64 Added: zig/repos/community-x86_64/PKGBUILD (from rev 666153, zig/trunk/PKGBUILD) Deleted: zig/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-31 12:02:17 UTC (rev 666153) +++ PKGBUILD 2020-07-31 12:04:38 UTC (rev 666154) @@ -1,43 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Contributor: Marc Tiehuis <marctieh...@gmail.com> - -pkgname=zig -pkgver=0.6.0 -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') -depends=('clang' 'llvm-libs' 'lld') -makedepends=('cmake' 'llvm') -source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz") -sha256sums=('5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204') - -build() { - cd "$pkgname-$pkgver" - - mkdir -p build - cd build - # The zig CMakeLists uses build type Debug if not set - # override it back to None so makepkg env vars are respected - cmake \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DZIG_PREFER_CLANG_CPP_DYLIB=ON \ - .. - make -} - -check() { - cd "$pkgname-$pkgver/build" - - ./zig build test -} - -package() { - cd "$pkgname-$pkgver" - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - make -C build DESTDIR="$pkgdir" install -} Copied: zig/repos/community-x86_64/PKGBUILD (from rev 666153, zig/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-31 12:04:38 UTC (rev 666154) @@ -0,0 +1,43 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Contributor: Marc Tiehuis <marctieh...@gmail.com> + +pkgname=zig +pkgver=0.6.0 +pkgrel=2 +pkgdesc='a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software' +arch=('x86_64') +url='https://ziglang.org/' +license=('MIT') +depends=('clang' 'llvm-libs' 'lld') +makedepends=('cmake' 'llvm') +source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz") +sha256sums=('5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204') + +build() { + cd "$pkgname-$pkgver" + + mkdir -p build + cd build + # The zig CMakeLists uses build type Debug if not set + # override it back to None so makepkg env vars are respected + cmake \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DZIG_PREFER_CLANG_CPP_DYLIB=ON \ + .. + make +} + +check() { + cd "$pkgname-$pkgver/build" + + ./zig build test +} + +package() { + cd "$pkgname-$pkgver" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + make -C build DESTDIR="$pkgdir" install +}