diff options
author | Michael Zhou <zhoumichaely@gmail.com> | 2011-08-06 11:07:54 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-08-08 02:26:39 -0500 |
commit | 9ce532f4158ed637199a91c3b9c0d4dc30cbdd99 (patch) | |
tree | a12086db7bcfe87933349357311c2b905c9405c8 /testing | |
parent | c4c8a89a2dc51251f531adb4c71d84bfc99a28b5 (diff) | |
download | aports-9ce532f4158ed637199a91c3b9c0d4dc30cbdd99.tar.bz2 aports-9ce532f4158ed637199a91c3b9c0d4dc30cbdd99.tar.xz |
testing/epdfview: new port
Diffstat (limited to 'testing')
-rw-r--r-- | testing/epdfview/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/epdfview/APKBUILD b/testing/epdfview/APKBUILD new file mode 100644 index 0000000000..3e64452821 --- /dev/null +++ b/testing/epdfview/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Michael Zhou <zhoumichaely@gmail.com> +# Maintainer: +pkgname=epdfview +pkgver=0.1.8 +pkgrel=0 +pkgdesc="A free lightweight PDF document viewer using Poppler and GTK+ libraries" +url="http://trac.emma-soft.com/epdfview/" +arch="x86 x86_64" +license="GPL" +depends="" +makedepends="glib-dev gtk+2.0-dev poppler-dev poppler-gtk-dev" +install="" +subpackages="$pkgname-doc" +source=" + http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$pkgver.tar.bz2 +" + +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="e50285b01612169b2594fea375f53ae4 epdfview-0.1.8.tar.bz2" |