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

Gaetan Bisson bisson at archlinux.org
Fri Oct 9 19:25:46 UTC 2015


    Date: Friday, October 9, 2015 @ 21:25:46
  Author: bisson
Revision: 143514

db-move: moved pdf2djvu from [community-staging] to [community-testing] (i686, x86_64)

Added:
  pdf2djvu/repos/community-testing-i686/
  pdf2djvu/repos/community-testing-i686/PKGBUILD
    (from rev 143513, pdf2djvu/repos/community-staging-i686/PKGBUILD)
  pdf2djvu/repos/community-testing-x86_64/
  pdf2djvu/repos/community-testing-x86_64/PKGBUILD
    (from rev 143513, pdf2djvu/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  pdf2djvu/repos/community-staging-i686/
  pdf2djvu/repos/community-staging-x86_64/

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

Copied: pdf2djvu/repos/community-testing-i686/PKGBUILD (from rev 143513, pdf2djvu/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-10-09 19:25:46 UTC (rev 143514)
@@ -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=3
+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-testing-x86_64/PKGBUILD (from rev 143513, pdf2djvu/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-10-09 19:25:46 UTC (rev 143514)
@@ -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=3
+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