summaryrefslogtreecommitdiff
path: root/community/pdf2djvu
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/pdf2djvu
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/pdf2djvu')
-rw-r--r--community/pdf2djvu/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/pdf2djvu/PKGBUILD b/community/pdf2djvu/PKGBUILD
new file mode 100644
index 000000000..2fdfe1e1b
--- /dev/null
+++ b/community/pdf2djvu/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 42182 2011-03-15 10:52:31Z jelle $
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=pdf2djvu
+pkgver=0.7.6
+pkgrel=4
+pkgdesc="Creates DjVu files from PDF files"
+arch=('i686' 'x86_64')
+url="http://pdf2djvu.googlecode.com"
+license=('GPL')
+depends=('poppler' 'djvulibre' 'libxslt')
+makedepends=('pstreams')
+source=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('fde5e9bdae4f8643a3457be5989acc83')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./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
+}
+md5sums=('b6ff549a4fdd0c13897ef3cc37ee3996')