Skip to content
Snippets Groups Projects
Commit 8e371acd authored by Dan Printzell's avatar Dan Printzell
Browse files

Rebuilt against new ldc.

parent 08431b2f
No related branches found
Tags 2.1.0-6
No related merge requests found
......@@ -4,7 +4,7 @@
pkgname=glibd
_pkgname=GlibD
pkgver=2.1.0
pkgrel=5
pkgrel=6
pkgdesc='D bindings for the GLib C Utility Library'
arch=('x86_64')
url='https://github.com/gtkd-developers/GlibD'
......@@ -14,13 +14,6 @@ makedepends=('meson' 'ldc' 'gobject-introspection' 'gir-to-d')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('2e00933e666f213ef5e38d3df5695966a76cdac067603e39d09f7ac8a5a4cab48ea498044de1d9daa2920609b7f8d6d5c090a666a6507a563bb896be2cc8c32f')
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
......@@ -30,9 +23,6 @@ build() {
arch-meson ..
# meson broke -soname for D in the latest update
sed -i "s/-soname,/=-soname=/g" build.ninja
ninja
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment