diff options
Diffstat (limited to 'main/goffice/APKBUILD')
-rw-r--r-- | main/goffice/APKBUILD | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/main/goffice/APKBUILD b/main/goffice/APKBUILD index 46db94f74..65289982d 100644 --- a/main/goffice/APKBUILD +++ b/main/goffice/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=goffice pkgver=0.8.17 -pkgrel=1 +pkgrel=2 _maj=${pkgver%%.*} _min=${pkgver#${_maj}.} _min=${_min%%.*} @@ -9,11 +9,22 @@ pkgdesc="A library of document-centric objects and utilities built on top of GLi url="http://www.gnome.org" arch="all" license="GPL" -makedepends="libgsf-dev intltool cairo-dev gtk+-dev pcre-dev" +depends_dev="glib-dev libgsf-dev cairo-dev libxml2-dev" +makedepends="$depends_dev intltool gtk+-dev autoconf automake libtool gtk-doc" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$_maj.$_min/$pkgname-$pkgver.tar.bz2" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$_maj.$_min/$pkgname-$pkgver.tar.bz2 + goffice-0.8.17-no-pcre.patch + " -depends_dev="glib-dev libgsf-dev cairo-dev libxml2-dev" +prepare() { + cd "$srcdir"/$pkgname-$pkgver + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + libtoolize --force && aclocal && autoconf && automake +} build() { cd "$srcdir"/$pkgname-$pkgver @@ -32,4 +43,5 @@ package() { rm -f "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/lib/goffice/*/plugins/*/*.la } -md5sums="b4c924457163e02daf8a8d2428f51d10 goffice-0.8.17.tar.bz2" +md5sums="b4c924457163e02daf8a8d2428f51d10 goffice-0.8.17.tar.bz2 +bf54fa8b063b79b857e5b572e94a162a goffice-0.8.17-no-pcre.patch" |