From 9526ee659401dee7160f35cb62ded2779bcbbc99 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 25 Jan 2010 16:43:57 +0000 Subject: merged x11 repository into main ref #255 --- main/epdfview/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 main/epdfview/APKBUILD (limited to 'main/epdfview/APKBUILD') diff --git a/main/epdfview/APKBUILD b/main/epdfview/APKBUILD new file mode 100644 index 000000000..fdd6e4186 --- /dev/null +++ b/main/epdfview/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa +pkgname=epdfview +pkgver=0.1.7 +pkgrel=1 +pkgdesc="A free lightweight PDF document viewer." +url="http://www.emma-soft.com/projects/epdfview/" +license="GPL" +#depends="poppler-glib>=0.10.0 heimdal>=1.2.1-1 libcups>=1.3.7-2 gnutls>=2.4.1 +depends="desktop-file-utils hicolor-icon-theme" +makedepends="poppler-gtk-dev" +source="http://www.emma-soft.com/projects/$pkgname/chrome/site/releases/$pkgname-$pkgver.tar.bz2 + $pkgname.desktop.patch + fix-scrolling.patch" + +build () +{ + cd ""$srcdir"/$pkgname-$pkgver" + patch -Np0 -i ../epdfview.desktop.patch || return 1 + patch -Np0 -i ../fix-scrolling.patch || return 1 + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + || return 1 + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 + for i in 24 32 48; do + install -d "$pkgdir"/usr/share/icons/hicolor/${i}x${i}/apps \ + || return 1 + done + install -m644 data/icon_epdfview-24.png \ + "$pkgdir"/usr/share/icons/hicolor/24x24/apps/epdfview.png + install -m644 data/icon_epdfview-32.png \ + "$pkgdir"/usr/share/icons/hicolor/32x32/apps/epdfview.png + install -m644 data/icon_epdfview-48.png \ + "$pkgdir"/usr/share/icons/hicolor/48x48/apps/epdfview.png +} + +md5sums="1919bb19c16ef0a97d48b0a8303d3c7b epdfview-0.1.7.tar.bz2 +fbf22bbabdbb7544db615ac5775d57e2 epdfview.desktop.patch +7a1574e0a8d0bcde316050629fb7bedd fix-scrolling.patch" -- cgit v1.2.3