summaryrefslogtreecommitdiff
path: root/extra/libpeas/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libpeas/PKGBUILD')
-rw-r--r--extra/libpeas/PKGBUILD25
1 files changed, 19 insertions, 6 deletions
diff --git a/extra/libpeas/PKGBUILD b/extra/libpeas/PKGBUILD
index bfac9d035..cb2b98529 100644
--- a/extra/libpeas/PKGBUILD
+++ b/extra/libpeas/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 183434 2013-04-21 22:11:27Z heftig $
+# $Id: PKGBUILD 188712 2013-06-18 13:46:20Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=libpeas
-pkgver=1.8.0
-pkgrel=2
+pkgver=1.8.1
+pkgrel=1
pkgdesc="A GObject-based plugins engine"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
@@ -19,17 +19,30 @@ options=('!libtool')
install=libpeas.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz
js17.patch)
-sha256sums=('ffbad2d2aad8237722342432f9737a2ba5a2022e1b8171ab57db67995ce2e0fe'
- '1a023c402e34203f13f3ffbb27afc9bbe46003cf2c911ceb2a0fc02742e9c889')
+sha256sums=('ff0e7cd1f0da5dc1289efdd4662a06188f8f0fb088eac67abe05ffa66ba7751d'
+ '094f28f911de979167c870b3ed51df09dbe3cacc271b375d891d7601c51ad44f')
-build() {
+prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../js17.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc --localstatedir=/var --enable-compile-warnings=no
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install