[arch-commits] Commit in pdf2djvu/repos (4 files)
Jelle van der Waa
jelle at archlinux.org
Sat Apr 4 09:28:14 UTC 2015
Date: Saturday, April 4, 2015 @ 11:28:14
Author: jelle
Revision: 130670
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 130669, pdf2djvu/trunk/PKGBUILD)
pdf2djvu/repos/community-staging-x86_64/
pdf2djvu/repos/community-staging-x86_64/PKGBUILD
(from rev 130669, 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 130669, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-04-04 09:28:14 UTC (rev 130670)
@@ -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.7.19
+pkgrel=4
+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=('f6bef50f67f8d60e52e44e81be069c27'
+ '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 130669, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-04-04 09:28:14 UTC (rev 130670)
@@ -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.7.19
+pkgrel=4
+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=('f6bef50f67f8d60e52e44e81be069c27'
+ '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