summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ocrodjvu/PKGBUILD24
-rw-r--r--pcr/pandoc/PKGBUILD13
-rw-r--r--pcr/pandoc/SRCBUILD2
-rw-r--r--pcr/python2-djvulibre/PKGBUILD26
-rw-r--r--pcr/youtube-dl-current/PKGBUILD4
5 files changed, 61 insertions, 8 deletions
diff --git a/pcr/ocrodjvu/PKGBUILD b/pcr/ocrodjvu/PKGBUILD
new file mode 100644
index 000000000..296b9d433
--- /dev/null
+++ b/pcr/ocrodjvu/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Francois Garillot <francois[@]garillot.net>
+# Contributor: Malkov Fyodor aka krox: iksut@yandex.ru
+pkgname=ocrodjvu
+pkgver=0.7.13
+pkgrel=1
+pkgdesc="ocrodjvu is a wrapper for OCR systems, that allows you to perform OCR on DjVu files."
+arch=('i686' 'x86_64')
+url='http://jwilk.net/software/ocrodjvu'
+license=('GPL2')
+depends=('python2' 'python2-lxml' 'python2-djvulibre')
+optdepends=('cuneiform' 'hocr')
+source=(http://pypi.python.org/packages/source/o/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('9b96520497e12ebcf68e61a056aad5a5')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find ./ -name '*.py')
+
+ python2 setup.py build
+ python2 setup.py install --root=$pkgdir
+}
diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD
index 4802e5d46..7aa3bfca9 100644
--- a/pcr/pandoc/PKGBUILD
+++ b/pcr/pandoc/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=pandoc-static
_pkgname=pandoc
-pkgver=1.12.3.1
+pkgver=1.12.3.3
pkgrel=1
pkgdesc='Conversion between markup formats (no Haskell libs)'
url='http://johnmacfarlane.net/pandoc/'
@@ -15,11 +15,8 @@ arch=('i686' 'x86_64')
depends=('icu>=52' 'icu<=53')
makedepends=('ghc' 'sh' 'cabal-install' 'alex' 'happy')
options=(strip !makeflags !distcc !emptydirs)
-source=(https://repo.parabolagnulinux.org/other/$pkgname/${_pkgname}-${pkgver}-1-any.src.tar.xz{,.sig}
+source=(https://repo.parabolagnulinux.org/other/pandoc-static/${_pkgname}-${pkgver}-1-any.src.tar.xz{,.sig}
SRCBUILD)
-sha256sums=('0fae0b3aaddd04219b882a421a6b977163ed9de8649c7023738e815661a77406'
- 'SKIP'
- '37af943126e85c2c6679d66f343d90b55e38429c9dec2f024afe9e191aa596f5')
replaces=('pandoc')
provides=('pandoc')
optdepends=('texlive-most: for pdf creation')
@@ -100,3 +97,9 @@ package() {
install -d ${pkgdir}/usr/share/licenses
cp -rv ${srcdir}/build/usr/share/doc/* ${pkgdir}/usr/share/licenses/
}
+sha1sums=('4984149bad15e5b07594d130b4f9d2dad4286e67'
+ 'SKIP'
+ '734e0b61b5a1f1ebf42b77c0b52ef18cd899f461')
+sha256sums=('7d469701d3bc033dce2e12fca8460f0d17fdb980a65dd25f266ee8f6071f5830'
+ 'SKIP'
+ 'a4370706e79992e570334584f647121096ed9b439f4531bfd11da247acff782e')
diff --git a/pcr/pandoc/SRCBUILD b/pcr/pandoc/SRCBUILD
index b18bad17b..618e4e220 100644
--- a/pcr/pandoc/SRCBUILD
+++ b/pcr/pandoc/SRCBUILD
@@ -2,7 +2,7 @@
# Based on haskell-pandoc
pkgname=pandoc
-pkgver=1.12.3.1
+pkgver=1.12.3.3
pkgrel=1
pkgdesc='Conversion between markup formats (no Haskell libs)'
url='http://johnmacfarlane.net/pandoc/'
diff --git a/pcr/python2-djvulibre/PKGBUILD b/pcr/python2-djvulibre/PKGBUILD
new file mode 100644
index 000000000..0d648272a
--- /dev/null
+++ b/pcr/python2-djvulibre/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Francois Garillot <francois[@]garillot.net>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Malkov Fyodor aka krox <iksut@yandex.ru>
+
+pkgname=python2-djvulibre
+pkgver=0.3.9
+pkgrel=2
+pkgdesc="A set of Python bindings for the DjVuLibre library"
+arch=('i686' 'x86_64')
+url="http://jwilk.net/software/python-djvulibre"
+license=('GPL2')
+depends=('djvulibre' 'python2')
+makedepends=('cython2')
+source=("http://pypi.python.org/packages/source/p/${pkgname/2}/${pkgname/2}-${pkgver}.tar.gz")
+md5sums=('07d187300ac590c45c4030ce3cd28117')
+
+build() {
+ cd "${srcdir}/${pkgname/2}-${pkgver}"
+ sed -i "s/'cython'/'cython2'/" setup.py
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname/2}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}"
+}
diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD
index 407abd19b..9269d1de2 100644
--- a/pcr/youtube-dl-current/PKGBUILD
+++ b/pcr/youtube-dl-current/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=youtube-dl-current
_pkgname=youtube-dl
provides=(youtube-dl)
-pkgver=2014.03.07.1
+pkgver=2014.03.29
pkgrel=1
pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites"
arch=('any')
@@ -28,5 +28,5 @@ package() {
"${pkgdir}/usr/share/bash-completion/completions/youtube-dl"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
-md5sums=('9b6630462d2619b8e95a25e473826f34'
+md5sums=('190670e8160788712d9b0685ca6e132c'
'SKIP')