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

Evangelos Foutras foutrelis at archlinux.org
Wed Oct 4 19:47:42 UTC 2017


    Date: Wednesday, October 4, 2017 @ 19:47:41
  Author: foutrelis
Revision: 261573

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

-----------------------------------+
 community-staging-i686/PKGBUILD   |   37 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   37 ++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: pdf2djvu/repos/community-staging-i686/PKGBUILD (from rev 261572, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-04 19:47:41 UTC (rev 261573)
@@ -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=2
+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}
+}

Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 261572, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-04 19:47:41 UTC (rev 261573)
@@ -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=2
+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