diff options
-rw-r--r-- | main/gobject-introspection/APKBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/main/gobject-introspection/APKBUILD b/main/gobject-introspection/APKBUILD index 4ec72bcd61..432001536e 100644 --- a/main/gobject-introspection/APKBUILD +++ b/main/gobject-introspection/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gobject-introspection -pkgver=0.9.10 +pkgver=0.9.12 pkgrel=0 pkgdesc="Introspection system for GObject-based libraries" url="http://live.gnome.org/GObjectInstrospection" @@ -13,9 +13,21 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$p subpackages="$pkgname-doc libgirepository" _builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done +} + build() { cd "$_builddir" - export CPPFLAGS= +# export CPPFLAGS= ./configure --prefix=/usr --disable-static || return 1 # FIXME: parallel builds is broken make -j1 || return 1 @@ -33,4 +45,4 @@ libgirepository() { mv "$pkgdir"/usr/lib/libgirepository*.so* "$subpkgdir"/usr/lib/ } -md5sums="e5cd63d6bcc5c105e898e7c33cf42175 gobject-introspection-0.9.10.tar.bz2" +md5sums="260ba5e77b5c0de0e7d8faf63ecbfee7 gobject-introspection-0.9.12.tar.bz2" |