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

Jelle van der Waa jelle at nymeria.archlinux.org
Mon May 20 14:48:08 EDT 2013


    Date: Monday, May 20, 2013 @ 20:48:07
  Author: jelle
Revision: 91262

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

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

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

Copied: pdf2djvu/repos/community-testing-i686/PKGBUILD (from rev 91261, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-05-20 18:48:07 UTC (rev 91262)
@@ -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.7.16
+pkgrel=6
+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=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('6ba1e576212e129111518a8c4afd1092')
+
+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 91261, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-05-20 18:48:07 UTC (rev 91262)
@@ -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.7.16
+pkgrel=6
+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=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('6ba1e576212e129111518a8c4afd1092')
+
+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