Date: Friday, April 20, 2018 @ 20:20:50 Author: foutrelis Revision: 317222
archrelease: copy trunk to community-staging-x86_64 Added: pdf2djvu/repos/community-staging-x86_64/ pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 317221, pdf2djvu/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 317221, pdf2djvu/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-20 20:20:50 UTC (rev 317222) @@ -0,0 +1,37 @@ +# $Id$ +# Contributor: Paulo Matias <matiasΘarchlinux-br·org> +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> + +pkgname=pdf2djvu +pkgver=0.9.9 +pkgrel=1 +pkgdesc="Creates DjVu files from PDF files" +arch=('x86_64') +url="http://jwilk.net/software/pdf2djvu" +license=('GPL') +depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2') +makedepends=('python2-nose' 'ttf-liberation') +source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc}) +sha256sums=('33f6b34c8879fea5dd4a8faf40180e840ed1266239ceee3fa58d0078938e306c' + 'SKIP') +validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5') + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +check() { + cd ${pkgname}-${pkgver} + + sed -i 's/nosetests/nosetests2/' tests/Makefile + make test +} + +package() { + cd ${pkgname}-${pkgver} + + make install DESTDIR=${pkgdir} +}