summaryrefslogtreecommitdiff
path: root/extra/libchamplain
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-03 00:08:24 -0700
committerroot <root@rshg054.dnsready.net>2013-06-03 00:08:24 -0700
commit1f86bf1b08cb980cea57c1d4d3187e2251f5a63b (patch)
tree1d7dc66a7f904a5e311c2924518469c9b72a3c82 /extra/libchamplain
parent8831500349d38b0b1afcb74ada3f6878c31fb6ef (diff)
Mon Jun 3 00:08:24 PDT 2013
Diffstat (limited to 'extra/libchamplain')
-rw-r--r--extra/libchamplain/PKGBUILD18
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
}