[arch-commits] Commit in diet-ng/trunk (PKGBUILD)
Dan Printzell
wild at archlinux.org
Thu Nov 7 19:27:00 UTC 2019
Date: Thursday, November 7, 2019 @ 19:26:59
Author: wild
Revision: 524523
upgpkg: diet-ng 1.6.0-2
Rebuilt against new ldc. Add meson building fixes
Modified:
diet-ng/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-07 19:26:43 UTC (rev 524522)
+++ PKGBUILD 2019-11-07 19:26:59 UTC (rev 524523)
@@ -2,7 +2,7 @@
pkgname=diet-ng
pkgver=1.6.0
-pkgrel=1
+pkgrel=2
pkgdesc='Generic compile-time template system based on an XML-like structure for D'
arch=('x86_64')
url='https://github.com/rejectedsoftware/diet-ng'
@@ -12,6 +12,13 @@
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('e0aeef9db109e2e09891c573839a48c3de68045f536db871e699cc37966649ded751b606310c6d18523881c29eea92da2b02afb7172fb56848507d6e2c3b76fd')
+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
@@ -20,6 +27,9 @@
arch-meson ..
+ # meson broke -soname for D in the latest update
+ sed -i "s/-soname,/=-soname=/g" build.ninja
+
ninja
}
More information about the arch-commits
mailing list