summaryrefslogtreecommitdiff
path: root/community-testing/pdf2djvu/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-23 00:02:37 +0000
committerroot <root@rshg054.dnsready.net>2012-05-23 00:02:37 +0000
commitbd614ac21d2754d778a796cd5e92d1568ec8baec (patch)
tree094c785b4da8bafd835e9e319e9908b776258975 /community-testing/pdf2djvu/PKGBUILD
parent62e13d20ed92262c7396eff00d048ce815693e74 (diff)
Wed May 23 00:02:37 UTC 2012
Diffstat (limited to 'community-testing/pdf2djvu/PKGBUILD')
-rw-r--r--community-testing/pdf2djvu/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/pdf2djvu/PKGBUILD b/community-testing/pdf2djvu/PKGBUILD
new file mode 100644
index 000000000..05ab4cd22
--- /dev/null
+++ b/community-testing/pdf2djvu/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 70999 2012-05-21 16:29:53Z foutrelis $
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.7.12
+pkgrel=1
+pkgdesc="Creates DjVu files from PDF files"
+arch=('i686' 'x86_64')
+url="http://pdf2djvu.googlecode.com"
+license=('GPL')
+depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs')
+makedepends=('pstreams')
+source=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz"
+ "poppler-0.20.patch")
+md5sums=('4fd56c0763b56b4081fc9c85be16d9d7'
+ '60ceee2409012a5f2b89b96e4a038793')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p1 <$srcdir/poppler-0.20.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+ install -Dm644 doc/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
+}