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

Evangelos Foutras foutrelis at archlinux.org
Mon Sep 28 21:32:38 UTC 2015


    Date: Monday, September 28, 2015 @ 23:32:38
  Author: foutrelis
Revision: 142164

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 142163, pdf2djvu/trunk/PKGBUILD)
  pdf2djvu/repos/community-staging-x86_64/
  pdf2djvu/repos/community-staging-x86_64/PKGBUILD
    (from rev 142163, pdf2djvu/trunk/PKGBUILD)

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

Copied: pdf2djvu/repos/community-staging-i686/PKGBUILD (from rev 142163, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-28 21:32:38 UTC (rev 142164)
@@ -0,0 +1,39 @@
+# $Id$
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.8.2
+pkgrel=2
+pkgdesc="Creates DjVu files from PDF files"
+arch=('i686' 'x86_64')
+url="http://pdf2djvu.googlecode.com"
+license=('GPL')
+depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs' 'graphicsmagick')
+makedepends=('pstreams' 'python2-nose' 'ttf-liberation')
+source=(https://bitbucket.org/jwilk/pdf2djvu/downloads/pdf2djvu-$pkgver.tar.xz{,.asc})
+validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
+md5sums=('ca8d2ba1646bfe371f58db67311e909a'
+         'SKIP')
+
+build() {
+    cd ${srcdir}/${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    cd ${srcdir}/${pkgname}-${pkgver}
+
+    sed -i 's/nosetests/nosetests2/' tests/Makefile
+    make test
+}
+
+package() {
+    cd ${srcdir}/${pkgname}-${pkgver}
+
+    make install DESTDIR=${pkgdir}
+    install -Dm644 doc/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
+}
+

Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 142163, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-28 21:32:38 UTC (rev 142164)
@@ -0,0 +1,39 @@
+# $Id$
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.8.2
+pkgrel=2
+pkgdesc="Creates DjVu files from PDF files"
+arch=('i686' 'x86_64')
+url="http://pdf2djvu.googlecode.com"
+license=('GPL')
+depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs' 'graphicsmagick')
+makedepends=('pstreams' 'python2-nose' 'ttf-liberation')
+source=(https://bitbucket.org/jwilk/pdf2djvu/downloads/pdf2djvu-$pkgver.tar.xz{,.asc})
+validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
+md5sums=('ca8d2ba1646bfe371f58db67311e909a'
+         'SKIP')
+
+build() {
+    cd ${srcdir}/${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    cd ${srcdir}/${pkgname}-${pkgver}
+
+    sed -i 's/nosetests/nosetests2/' tests/Makefile
+    make test
+}
+
+package() {
+    cd ${srcdir}/${pkgname}-${pkgver}
+
+    make install DESTDIR=${pkgdir}
+    install -Dm644 doc/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
+}
+



More information about the arch-commits mailing list