diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/pdf2djvu/PKGBUILD | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/pdf2djvu/PKGBUILD')
-rw-r--r-- | community/pdf2djvu/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/pdf2djvu/PKGBUILD b/community/pdf2djvu/PKGBUILD index 26f1ff262..38a311ed0 100644 --- a/community/pdf2djvu/PKGBUILD +++ b/community/pdf2djvu/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 88656 2013-04-21 08:48:16Z jelle $ +# $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=4 +pkgrel=6 pkgdesc="Creates DjVu files from PDF files" arch=('i686' 'x86_64' 'mips64el') url="http://pdf2djvu.googlecode.com" @@ -12,22 +12,26 @@ 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 } -check() { - cd ${srcdir}/${pkgname}-${pkgver} - sed -i 's/nosetests/nosetests2/' tests/Makefile - make test -} -md5sums=('6ba1e576212e129111518a8c4afd1092') |