Date: Tuesday, March 3, 2020 @ 21:11:36 Author: jelle Revision: 589856
archrelease: copy trunk to community-staging-x86_64 Added: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 589855, pdf2djvu/trunk/PKGBUILD) Deleted: pdf2djvu/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-03 21:08:25 UTC (rev 589855) +++ PKGBUILD 2020-03-03 21:11:36 UTC (rev 589856) @@ -1,45 +0,0 @@ -# Contributor: Paulo Matias <matiasΘarchlinux-br·org> -# Maintainer: Jelle van der Waa <je...@vdwaa.nl> - -pkgname=pdf2djvu -pkgver=0.9.16 -pkgrel=2 -pkgdesc="Creates DjVu files from PDF files" -arch=('x86_64') -url="https://jwilk.net/software/pdf2djvu" -license=('GPL') -depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2') -makedepends=('python2-nose' 'ttf-liberation' 'boost') -source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc} - pdf2djvu-poppler-0.86.patch::"https://github.com/jwilk/pdf2djvu/commit/b28c2007.patch" - pdf2djvu-poppler-0.86-2.patch::"https://github.com/jwilk/pdf2djvu/commit/d3bb5259.patch") -sha256sums=('5196966bd3603e3556d3104673816dc2e61bab496329c7bfd9c6527c076d3472' - 'SKIP' - '3581b5f691f9c0668b15519591e47a76dfff94d76020ed20c5b7d80241940b78' - '1655ff01d657f54abb742575143b0d14fa4b7e9099ed8cc53481424497c92966') -validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5') - -prepare() { - cd $pkgname-$pkgver - patch -p1 -i ../pdf2djvu-poppler-0.86.patch # Fix build with poppler 0.86 - patch -p1 -i ../pdf2djvu-poppler-0.86-2.patch -} - -build() { - cd ${pkgname}-${pkgver} - - ./configure --prefix=/usr - make -} - -check() { - cd ${pkgname}-${pkgver} - - make PYTHON=python2 test -} - -package() { - cd ${pkgname}-${pkgver} - - make install DESTDIR=${pkgdir} -} Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 589855, pdf2djvu/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-03 21:11:36 UTC (rev 589856) @@ -0,0 +1,45 @@ +# Contributor: Paulo Matias <matiasΘarchlinux-br·org> +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> + +pkgname=pdf2djvu +pkgver=0.9.17 +pkgrel=1 +pkgdesc="Creates DjVu files from PDF files" +arch=('x86_64') +url="https://jwilk.net/software/pdf2djvu" +license=('GPL') +depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2') +makedepends=('python2-nose' 'ttf-liberation' 'boost') +source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc} + pdf2djvu-poppler-0.86.patch::"https://github.com/jwilk/pdf2djvu/commit/b28c2007.patch" + pdf2djvu-poppler-0.86-2.patch::"https://github.com/jwilk/pdf2djvu/commit/d3bb5259.patch") +sha256sums=('2976a15344e569d7ba6a694f002e9970d0859edc2ad1b2726692e6c46969cfc4' + 'SKIP' + '3581b5f691f9c0668b15519591e47a76dfff94d76020ed20c5b7d80241940b78' + '1655ff01d657f54abb742575143b0d14fa4b7e9099ed8cc53481424497c92966') +validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5') + +prepare() { + cd $pkgname-$pkgver +#patch -p1 -i ../pdf2djvu-poppler-0.86.patch # Fix build with poppler 0.86 +# patch -p1 -i ../pdf2djvu-poppler-0.86-2.patch +} + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +check() { + cd ${pkgname}-${pkgver} + + make PYTHON=python2 test +} + +package() { + cd ${pkgname}-${pkgver} + + make install DESTDIR=${pkgdir} +}