updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / libhocr / PKGBUILD
blob254439cb357f124243506c39fcd8c6071a8d39dc
1 # Maintainer: Yoel Lion <yoel3ster at gmail dot com>
3 pkgname=libhocr
4 pkgver=0.10.17
5 pkgrel=15
6 pkgdesc="HOCR is a Hebrew character recognition library. libhocr comes with sane-pygtk"
7 depends=('swig' 'pygtk' 'hspell' 'fftw' 'tesseract' 'python-imaging')
8 arch=('i686' 'x86_64')
9 url="http://hocr.berlios.de/"
10 license=('GPLv3')
11 source=(http://download.berlios.de/hocr/$pkgname-$pkgver.tar.gz configure.patch)
12 md5sums=('6148b9e175cc633a1d2deaa559abc4b8' '6aa5880c82b198fba7529466fc197c50')
14 build() {
15 cd $srcdir/$pkgname-$pkgver
16 patch -Np0 -i $srcdir/configure.patch
17 cd $srcdir/$pkgname-$pkgver/examples/hocr-gtk
18 sed -i '1c#!/usr/bin/env python2' hocr-gtk sane-pygtk
19 cd $srcdir/$pkgname-$pkgver
20 ./configure --prefix=/usr
21 make
22 make DESTDIR=$pkgdir install