diff options
Diffstat (limited to 'community/pdf2djvu/PKGBUILD')
-rw-r--r-- | community/pdf2djvu/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/pdf2djvu/PKGBUILD b/community/pdf2djvu/PKGBUILD new file mode 100644 index 000000000..fa3389e11 --- /dev/null +++ b/community/pdf2djvu/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 91593 2013-05-25 02:56:18Z foutrelis $ +# Contributor: Paulo Matias <matiasΘarchlinux-br·org> +# Maintainer: Jelle van der Waa <jelle@vdwaa.nl> + +pkgname=pdf2djvu +pkgver=0.7.16 +pkgrel=6 +pkgdesc="Creates DjVu files from PDF files" +arch=('i686' 'x86_64') +url="http://pdf2djvu.googlecode.com" +license=('GPL') +depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs' 'graphicsmagick') +makedepends=('pstreams' 'python2-nose' 'ttf-liberation') +source=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz") +md5sums=('6ba1e576212e129111518a8c4afd1092') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + + sed -i 's/nosetests/nosetests2/' tests/Makefile + make test +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make install DESTDIR=${pkgdir} + install -Dm644 doc/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1 +} + |