Date: Thursday, April 5, 2018 @ 07:01:49 Author: arojas Revision: 314402
archrelease: copy trunk to community-x86_64 Added: d-stdx-allocator/repos/ d-stdx-allocator/repos/community-x86_64/ d-stdx-allocator/repos/community-x86_64/PKGBUILD (from rev 314401, d-stdx-allocator/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: d-stdx-allocator/repos/community-x86_64/PKGBUILD (from rev 314401, d-stdx-allocator/trunk/PKGBUILD) =================================================================== --- repos/community-x86_64/PKGBUILD (rev 0) +++ repos/community-x86_64/PKGBUILD 2018-04-05 07:01:49 UTC (rev 314402) @@ -0,0 +1,28 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=d-stdx-allocator +pkgver=2.77.1.1 +pkgrel=1 +pkgdesc="Extracted std.experimental.allocator for usage via DUB" +arch=(x86_64) +url="https://github.com/dlang-community" +license=(Boost) +depends=(libphobos) +makedepends=(dmd meson) +source=($pkgname-$pkgver.tar.gz::"https://github.com/dlang-community/stdx-allocator/archive/v$pkgver.tar.gz") +sha256sums=('9d9b897e67b9d7c2eea9144f8f4e50eb2f8d49e30d587416c1750403a84a6f91') + +prepare() { + mkdir -p build +} + +build() { + cd build + meson ../stdx-allocator-$pkgver --prefix=/usr + ninja +} + +package() { + cd build + DESTDIR="$pkgdir" ninja install +}