diff options
author | root <root@rshg054.dnsready.net> | 2012-06-26 00:01:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-26 00:01:48 +0000 |
commit | 9a6b691757346035549dbd12d1323301d04a6675 (patch) | |
tree | 5e06d2322b58a73254a0ca2c05d2083cb0209db2 /community-testing/pdf2djvu | |
parent | 3b99c42eb8ca744e86e4e17197b1bf10642c6785 (diff) |
Tue Jun 26 00:01:48 UTC 2012
Diffstat (limited to 'community-testing/pdf2djvu')
-rw-r--r-- | community-testing/pdf2djvu/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community-testing/pdf2djvu/PKGBUILD b/community-testing/pdf2djvu/PKGBUILD new file mode 100644 index 000000000..e3f409a75 --- /dev/null +++ b/community-testing/pdf2djvu/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 72915 2012-06-24 19:24:11Z foutrelis $ +# Contributor: Paulo Matias <matiasΘarchlinux-br·org> +# Maintainer: Jelle van der Waa <jelle@vdwaa.nl> + +pkgname=pdf2djvu +pkgver=0.7.13 +pkgrel=2 +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") + +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 +} +check() { + + cd ${srcdir}/${pkgname}-${pkgver} + sed -i 's/nosetests/nosetests2/' tests/Makefile + make test +} +md5sums=('b5327c5949057711a8250dffb6ccfd2d') |