summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc9ecda11f4..768ef05266a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dpsprep-git
pkgdesc = Python DJVU to PDF converter which preserves OCR text and bookmark metadata (e.g. TOC)
- pkgver = r7.265cdb1
+ pkgver = r10.e52d7ca
pkgrel = 1
url = https://github.com/kcroker/dpsprep
arch = any
@@ -14,6 +14,7 @@ pkgbase = dpsprep-git
depends = pdfbeads
depends = pdftk-bin
depends = ruby-iconv
+ optdepends = jbig2enc-git: JBIG2 encoder provides much better PDF compression, \ but some software may not handle resulting files
source = git+git://github.com/kcroker/dpsprep.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 527b4d3fd81..af118b1638a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Dmitry Kharitonov <darksab0r@gmail.com>
pkgname=dpsprep-git
_gitname=dpsprep
-pkgver=r7.265cdb1
+pkgver=r10.e52d7ca
pkgrel=1
pkgdesc="Python DJVU to PDF converter which preserves OCR text and bookmark metadata (e.g. TOC)"
url='https://github.com/kcroker/dpsprep'
@@ -9,6 +9,8 @@ arch=('any')
license=('GPL3')
makedepends=('git')
depends=('python2' 'python2-sexpdata' 'python2-argparse' 'djvulibre' 'ocrodjvu' 'pdfbeads' 'pdftk-bin' 'ruby-iconv')
+optdepends=('jbig2enc-git: JBIG2 encoder provides much better PDF compression, \
+ but some software may not handle resulting files')
source=('git+git://github.com/kcroker/dpsprep.git')
md5sums=('SKIP')
@@ -18,6 +20,6 @@ pkgver() {
}
package() {
- install -D -m644 "$srcdir/$_gitname/README.md" "$pkgdir/usr/share/doc/$_gitname/README.md"
- install -D -m755 "$srcdir/$_gitname/dpsprep" "$pkgdir/usr/bin/dpsprep"
+ install -D -m644 "$srcdir/$_gitname/README.md" "$pkgdir/usr/share/doc/$_gitname/README.md"
+ install -D -m755 "$srcdir/$_gitname/dpsprep" "$pkgdir/usr/bin/dpsprep"
}