Date: Tuesday, August 3, 2021 @ 20:37:30 Author: wild Revision: 993572
archrelease: copy trunk to community-x86_64 Added: d-containers/repos/community-x86_64/PKGBUILD (from rev 993571, d-containers/trunk/PKGBUILD) Deleted: d-containers/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-03 20:37:26 UTC (rev 993571) +++ PKGBUILD 2021-08-03 20:37:30 UTC (rev 993572) @@ -1,40 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> - -pkgname=d-containers -_pkgname=containers -_pkgver=0.8.0 -pkgver=${_pkgver/-/} -pkgrel=3 -pkgdesc='Containers for D backed by std.experimental.allocator' -arch=('x86_64') -url='https://github.com/dlang-community/containers' -license=('Boost') -depends=('liblphobos') -makedepends=('meson' 'ldc' 'd-stdx-allocator') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$_pkgver.tar.gz") -sha512sums=('cb3d5a02251922f920a32033bc5cca6d82b07e2a073d85bf729e71d6a3050deaf6c31b93b443c6287ad0ceb01ab5b3bc50b4d9c5df6066292175ceaf234f4c5c') - -build() { - mkdir -p $_pkgname-$_pkgver/build - cd $_pkgname-$_pkgver/build - - # Force build with LDC - export DC=ldc - - arch-meson .. - - ninja -} - -check() { - cd $_pkgname-$_pkgver/build - - ninja test -} - -package() { - cd $_pkgname-$_pkgver/build - - DESTDIR="$pkgdir" ninja install -} - Copied: d-containers/repos/community-x86_64/PKGBUILD (from rev 993571, d-containers/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-03 20:37:30 UTC (rev 993572) @@ -0,0 +1,40 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +pkgname=d-containers +_pkgname=containers +_pkgver=0.8.0 +pkgver=${_pkgver/-/} +pkgrel=4 +pkgdesc='Containers for D backed by std.experimental.allocator' +arch=('x86_64') +url='https://github.com/dlang-community/containers' +license=('Boost') +depends=('liblphobos') +makedepends=('meson' 'ldc' 'd-stdx-allocator') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$_pkgver.tar.gz") +sha512sums=('cb3d5a02251922f920a32033bc5cca6d82b07e2a073d85bf729e71d6a3050deaf6c31b93b443c6287ad0ceb01ab5b3bc50b4d9c5df6066292175ceaf234f4c5c') + +build() { + mkdir -p $_pkgname-$_pkgver/build + cd $_pkgname-$_pkgver/build + + # Force build with LDC + export DC=ldc + + arch-meson .. + + ninja +} + +check() { + cd $_pkgname-$_pkgver/build + + ninja test +} + +package() { + cd $_pkgname-$_pkgver/build + + DESTDIR="$pkgdir" ninja install +} +