PKGBUILDs/extra/gocr/PKGBUILD

24 lines
721 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 50424 2009-08-26 10:47:59Z allan $
# Maintainer:
# Contributor: damir <damir@archlinux.org>
pkgname=gocr
pkgver=0.48
pkgrel=1
pkgdesc="Open-source character recognition (OCR)"
arch=("i686" "x86_64")
url="http://jocr.sourceforge.net/index.html"
license=('GPL')
depends=('glibc' 'netpbm')
optdepends=('tk: to use the tk frontend')
source=(http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-${pkgver}.tar.gz)
md5sums=('9882ba9a93fcb18ab704a10da80c228c')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR=$pkgdir bindir=/usr/bin install || return 1
install -D -m644 doc/gocr.html $pkgdir/usr/share/doc/gocr/gocr.html
}