[arch-commits] Commit in pdf2djvu/repos (4 files)
Laurent Carlier
lcarlier at nymeria.archlinux.org
Sat Nov 30 09:37:00 UTC 2013
Date: Saturday, November 30, 2013 @ 10:37:00
Author: lcarlier
Revision: 101690
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 101689, pdf2djvu/trunk/PKGBUILD)
pdf2djvu/repos/community-staging-x86_64/
pdf2djvu/repos/community-staging-x86_64/PKGBUILD
(from rev 101689, 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 101689, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-11-30 09:37:00 UTC (rev 101690)
@@ -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.17
+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=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('fedec591afb14b144808d1a4facab174')
+
+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 101689, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-11-30 09:37:00 UTC (rev 101690)
@@ -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.17
+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=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('fedec591afb14b144808d1a4facab174')
+
+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