[arch-commits] Commit in d-containers/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Oct 24 02:19:39 UTC 2021
Date: Sunday, October 24, 2021 @ 02:19:38
Author: foutrelis
Revision: 1033036
archrelease: copy trunk to community-testing-x86_64
Added:
d-containers/repos/community-testing-x86_64/
d-containers/repos/community-testing-x86_64/PKGBUILD
(from rev 1033035, d-containers/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: d-containers/repos/community-testing-x86_64/PKGBUILD (from rev 1033035, d-containers/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-10-24 02:19:38 UTC (rev 1033036)
@@ -0,0 +1,39 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=d-containers
+_pkgname=containers
+_pkgver=0.8.0
+pkgver=${_pkgver/-/}
+pkgrel=5
+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
+}
More information about the arch-commits
mailing list