diff options
author | chrys | 2015-06-14 18:11:44 +0200 |
---|---|---|
committer | chrys | 2015-06-14 18:11:44 +0200 |
commit | c6fac93841b562b5191dd2105e781ed4989c3ddb (patch) | |
tree | 73a26c23fd43615b258fecdefbe4c9d189d9e1e2 | |
download | aur-c6fac93841b562b5191dd2105e781ed4989c3ddb.tar.gz |
python-tesserwrap Initial import AUR4
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bc25e25f1067 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by makepkg 4.2.0 +# Thu Jan 29 00:11:27 UTC 2015 +pkgbase = python-tesserwrap + pkgdesc = Basic python bindings to the Tesseract C++ API + pkgver = 0.1.6 + pkgrel = 1 + url = https://pypi.python.org/pypi/tesserwrap + arch = any + license = APACHE + depends = python + depends = tesseract + source = https://pypi.python.org/packages/source/t/tesserwrap/tesserwrap-0.1.6.tar.gz + sha256sums = a26fc24d6de144b6a99d7802973e2a191a69dd6a532f6a20c580670aba9f49e0 + +pkgname = python-tesserwrap + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..219e88c7f9fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Jerome Leclanche <jerome@leclan.ch> + +_pkgname=tesserwrap +pkgname=python-$_pkgname +pkgver=0.1.6 +pkgrel=1 +pkgdesc="Basic python bindings to the Tesseract C++ API" +arch=("any") +license=("APACHE") +url="https://pypi.python.org/pypi/tesserwrap" +depends=("python" "tesseract") +source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=("a26fc24d6de144b6a99d7802973e2a191a69dd6a532f6a20c580670aba9f49e0") + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build +} |