[arch-commits] Commit in pdf2djvu/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Aug 6 19:51:02 UTC 2018
Date: Monday, August 6, 2018 @ 19:51:01
Author: foutrelis
Revision: 369888
archrelease: copy trunk to community-staging-x86_64
Added:
pdf2djvu/repos/community-staging-x86_64/
pdf2djvu/repos/community-staging-x86_64/PKGBUILD
(from rev 369887, pdf2djvu/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 369887, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-06 19:51:01 UTC (rev 369888)
@@ -0,0 +1,37 @@
+# $Id$
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.9.9
+pkgrel=2
+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}
+}
More information about the arch-commits
mailing list