diff options
Diffstat (limited to 'main/epdfview/APKBUILD')
-rw-r--r-- | main/epdfview/APKBUILD | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/main/epdfview/APKBUILD b/main/epdfview/APKBUILD index 3dfba8dbc..b7284b130 100644 --- a/main/epdfview/APKBUILD +++ b/main/epdfview/APKBUILD @@ -1,22 +1,35 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=epdfview pkgver=0.1.7 -pkgrel=4 +pkgrel=5 pkgdesc="A free lightweight PDF document viewer." url="http://www.emma-soft.com/projects/epdfview/" -arch="x86 x86_64" +arch="all" license="GPL" depends="desktop-file-utils hicolor-icon-theme" -makedepends="poppler-gtk-dev cups-dev" +makedepends="poppler-gtk-dev cups-dev autoconf automake" source="http://www.emma-soft.com/projects/$pkgname/chrome/site/releases/$pkgname-$pkgver.tar.bz2 $pkgname.desktop.patch - fix-scrolling.patch" + fix-scrolling.patch + 350-coordinates.patch + 351-memleak.patch + 354-poppler-0.15.patch + " _builddir="$srcdir"/$pkgname-$pkgver -package() { +prepare() { cd "$_builddir" - patch -Np0 -i ../epdfview.desktop.patch || return 1 - patch -Np0 -i ../fix-scrolling.patch || return 1 + for i in $source; do + case $i in + *.patch) + msg "$i" + patch -p0 -i "$srcdir"/$i || return 1;; + esac + done + # make automake happy + touch ChangeLog + + aclocal -I m4 && autoconf && automake && autoheader } build() { @@ -45,4 +58,7 @@ package() { md5sums="1919bb19c16ef0a97d48b0a8303d3c7b epdfview-0.1.7.tar.bz2 fbf22bbabdbb7544db615ac5775d57e2 epdfview.desktop.patch -7a1574e0a8d0bcde316050629fb7bedd fix-scrolling.patch" +7a1574e0a8d0bcde316050629fb7bedd fix-scrolling.patch +8cb4bc10e91afdb0651df12fa83408d7 350-coordinates.patch +b6595810d47ef70ef6ca87a7de89c117 351-memleak.patch +3718789a62e1d1ce9bb3dec756609df6 354-poppler-0.15.patch" |