[arch-commits] Commit in pdf2djvu/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jun 30 09:57:02 UTC 2019
Date: Sunday, June 30, 2019 @ 09:57:02
Author: foutrelis
Revision: 486206
archrelease: copy trunk to community-staging-x86_64
Added:
pdf2djvu/repos/community-staging-x86_64/
pdf2djvu/repos/community-staging-x86_64/PKGBUILD
(from rev 486205, pdf2djvu/trunk/PKGBUILD)
pdf2djvu/repos/community-staging-x86_64/pdf2djvu-poppler-0.76.patch
(from rev 486205, pdf2djvu/trunk/pdf2djvu-poppler-0.76.patch)
-----------------------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
pdf2djvu-poppler-0.76.patch | 11 +++++++++++
2 files changed, 46 insertions(+)
Copied: pdf2djvu/repos/community-staging-x86_64/PKGBUILD (from rev 486205, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-06-30 09:57:02 UTC (rev 486206)
@@ -0,0 +1,35 @@
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.9.13
+pkgrel=2
+pkgdesc="Creates DjVu files from PDF files"
+arch=('x86_64')
+url="https://jwilk.net/software/pdf2djvu"
+license=('GPL')
+depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2')
+makedepends=('python2-nose' 'ttf-liberation')
+source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc})
+sha256sums=('e0ab16d83129625c86df7c121eddf286458f63cb81ae791e5a76df10a3ab4c63'
+ 'SKIP')
+validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+
+ make PYTHON=python2 test
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+}
Copied: pdf2djvu/repos/community-staging-x86_64/pdf2djvu-poppler-0.76.patch (from rev 486205, pdf2djvu/trunk/pdf2djvu-poppler-0.76.patch)
===================================================================
--- community-staging-x86_64/pdf2djvu-poppler-0.76.patch (rev 0)
+++ community-staging-x86_64/pdf2djvu-poppler-0.76.patch 2019-06-30 09:57:02 UTC (rev 486206)
@@ -0,0 +1,11 @@
+--- pdf2djvu-0.9.12/pdf2djvu.cc.orig 2019-04-23 21:54:19.435727639 +0000
++++ pdf2djvu-0.9.12/pdf2djvu.cc 2019-04-23 21:54:33.762565515 +0000
+@@ -87,7 +87,7 @@
+ if (dest->isPageRef())
+ {
+ Ref pageref = dest->getPageRef();
+- page = catalog->findPage(pageref.num, pageref.gen);
++ page = catalog->findPage(pageref);
+ }
+ else
+ page = dest->getPageNum();
More information about the arch-commits
mailing list