diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,17 +3,19 @@ _pkgname=tesserwrap pkgname=python-$_pkgname pkgver=0.1.6 -pkgrel=1 +pkgrel=2 pkgdesc="Basic python bindings to the Tesseract C++ API" arch=("any") license=("APACHE") url="https://pypi.python.org/pypi/tesserwrap" depends=("python" "tesseract") +makedepends=('sed') source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha256sums=("a26fc24d6de144b6a99d7802973e2a191a69dd6a532f6a20c580670aba9f49e0") build() { cd "$srcdir/$_pkgname-$pkgver" + sed -i '/self.set_page_seg_mode(PageSegMode.PSM_SINGLE_BLOCK)/d' ./tesserwrap/__init__.py #remove some bug that is not fixed upstream right now (https://github.com/gregjurman/tesserwrap/issues/20) python setup.py build } |