Date: Sunday, October 14, 2018 @ 00:05:41 Author: wild Revision: 393365
archrelease: copy trunk to community-x86_64 Added: d-stdx-allocator/repos/community-x86_64/PKGBUILD (from rev 393364, d-stdx-allocator/trunk/PKGBUILD) Deleted: d-stdx-allocator/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-14 00:04:44 UTC (rev 393364) +++ PKGBUILD 2018-10-14 00:05:41 UTC (rev 393365) @@ -1,32 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> - -pkgname=d-stdx-allocator -_pkgname=stdx-allocator -pkgver=2.77.3 -pkgrel=2 -pkgdesc='Extracted std.experimental.allocator' -arch=('x86_64') -url='https://github.com/dlang-community/stdx-allocator' -license=('Boost') -depends=('liblphobos') -makedepends=('meson' 'ldc' 'python-setuptools') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('cf558f19bffe555c4f022ab2090b9ad46086eb1dfe7be02cd9fa7451d1b857a6') - -build() { - mkdir $_pkgname-$pkgver/build - cd $_pkgname-$pkgver/build - - export DC=ldc - - arch-meson - - ninja -} - -package() { - cd $_pkgname-$pkgver/build - - DESTDIR="$pkgdir" ninja install -} - Copied: d-stdx-allocator/repos/community-x86_64/PKGBUILD (from rev 393364, d-stdx-allocator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-14 00:05:41 UTC (rev 393365) @@ -0,0 +1,38 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +pkgname=d-stdx-allocator +_pkgname=stdx-allocator +pkgver=2.77.3 +pkgrel=3 +pkgdesc='Extracted std.experimental.allocator' +arch=('x86_64') +url='https://github.com/dlang-community/stdx-allocator' +license=('Boost') +depends=('liblphobos') +makedepends=('meson' 'ldc' 'python-setuptools') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('cf558f19bffe555c4f022ab2090b9ad46086eb1dfe7be02cd9fa7451d1b857a6') + +build() { + mkdir $_pkgname-$pkgver/build + cd $_pkgname-$pkgver/build + + export DC=ldc + + arch-meson + + ninja +} + +check() { + cd $_pkgname-$pkgver/build + + meson test +} + +package() { + cd $_pkgname-$pkgver/build + + DESTDIR="$pkgdir" ninja install +} +