[arch-commits] Commit in d-containers/repos/community-x86_64 (PKGBUILD PKGBUILD)

Dan Printzell wild at archlinux.org
Mon Jan 13 15:11:56 UTC 2020


    Date: Monday, January 13, 2020 @ 15:11:56
  Author: wild
Revision: 552375

archrelease: copy trunk to community-x86_64

Added:
  d-containers/repos/community-x86_64/PKGBUILD
    (from rev 552374, d-containers/trunk/PKGBUILD)
Deleted:
  d-containers/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 40 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-13 15:11:49 UTC (rev 552374)
+++ PKGBUILD	2020-01-13 15:11:56 UTC (rev 552375)
@@ -1,50 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=d-containers
-_pkgname=containers
-_pkgver=0.8.0-alpha.19
-pkgver=${_pkgver/-/}
-pkgrel=1
-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=('ef415e2bf7829e05c458cee0e41b6fc5768805a8dee332fb6a01a72e1e723f240f183cd1fd5ed74848cc4ea860b0746dca1c5dee13d37f819f0025da99098c4a')
-
-prepare() {
-  cd $_pkgname-$_pkgver
-
-  # Meson forgot to add this flag when creating a shared library.
-  sed -i "/soversion:/a link_args: '-shared'," meson.build
-}
-
-build() {
-  mkdir -p $_pkgname-$_pkgver/build
-  cd $_pkgname-$_pkgver/build
-
-  # Force build with LDC
-  export DC=ldc
-
-  arch-meson ..
-
-  # meson broke -soname for D in the latest update
-  sed -i "s/-soname,/=-soname=/g" build.ninja
-
-  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 552374, d-containers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-13 15:11:56 UTC (rev 552375)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=d-containers
+_pkgname=containers
+_pkgver=0.8.0-alpha.19
+pkgver=${_pkgver/-/}
+pkgrel=2
+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=('ef415e2bf7829e05c458cee0e41b6fc5768805a8dee332fb6a01a72e1e723f240f183cd1fd5ed74848cc4ea860b0746dca1c5dee13d37f819f0025da99098c4a')
+
+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