[arch-commits] Commit in pdf2djvu/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 9 08:46:47 UTC 2017


    Date: Thursday, November 9, 2017 @ 08:46:46
  Author: foutrelis
Revision: 265797

archrelease: copy trunk to community-staging-x86_64

Added:
  pdf2djvu/repos/community-staging-x86_64/
  pdf2djvu/repos/community-staging-x86_64/PKGBUILD
    (from rev 265796, pdf2djvu/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 265796, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-11-09 08:46:46 UTC (rev 265797)
@@ -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.7
+pkgrel=4
+pkgdesc="Creates DjVu files from PDF files"
+arch=('i686' '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=('9e7d42632a130cf73fc6144a78b0795dc0d690ecccd25360fa3c999e6f7222c1'
+            '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