diff options
Diffstat (limited to 'extra/libchamplain/PKGBUILD')
-rw-r--r-- | extra/libchamplain/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/libchamplain/PKGBUILD b/extra/libchamplain/PKGBUILD index bbc09d657..dc4925c11 100644 --- a/extra/libchamplain/PKGBUILD +++ b/extra/libchamplain/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 185652 2013-05-16 19:22:22Z heftig $ +# $Id: PKGBUILD 186991 2013-06-02 19:42:55Z heftig $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: Michael Kanis <mkanis@gmx.de> pkgname=libchamplain pkgver=0.12.4 -pkgrel=1 +pkgrel=2 pkgdesc="Gtk3 widget for displaying rasterized maps" url="http://projects.gnome.org/libchamplain/" license=('LGPL') @@ -16,12 +16,16 @@ source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/${pkgname}- sha256sums=('631ce8e91b02c596e29778d3f7c1d28013e2e40d080a88f2d9a06f8b79f9e493') build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --disable-static --disable-debug --enable-vala - make + cd $pkgname-$pkgver + ./configure --prefix=/usr --disable-static --disable-debug --enable-vala + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install } |