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

Evangelos Foutras foutrelis at archlinux.org
Thu Mar 21 20:48:43 UTC 2019


    Date: Thursday, March 21, 2019 @ 20:48:43
  Author: foutrelis
Revision: 443087

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 443086, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-03-21 20:48:43 UTC (rev 443087)
@@ -0,0 +1,37 @@
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.9.12
+pkgrel=4
+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')
+source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc}
+        pdf2djvu-poppler-0.72.0.patch::https://github.com/jwilk/pdf2djvu/commit/82699eee6b.patch)
+sha256sums=('03fa9d9aa1b8086b562e2461ed74e5f9f008f16bfc1459ba62fa3738b37d8e83'
+            'SKIP'
+            'cc5ef76568fdd201586fa6e0b8e8e386628972ad75a597ea0790bb97718eef87')
+validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
+
+build() {
+    cd ${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+
+    make PYTHON=python2 test
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    make install DESTDIR=${pkgdir}
+}


More information about the arch-commits mailing list