mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
829 B
Bash
24 lines
829 B
Bash
# $Id: PKGBUILD 35722 2009-04-16 06:22:56Z eric $
|
|
# Maintainer: damir <damir@archlinux.org>
|
|
|
|
pkgname=ocrad
|
|
pkgver=0.17
|
|
pkgrel=2
|
|
pkgdesc="OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method"
|
|
arch=("i686" "x86_64")
|
|
url="http://www.gnu.org/software/ocrad/ocrad.html"
|
|
license=('GPL3')
|
|
depends=('gcc-libs' 'texinfo')
|
|
install=ocrad.install
|
|
source=("http://ftp.gnu.org/gnu/ocrad/ocrad-$pkgver.tar.bz2" ocrad-0.17-gcc43.patch)
|
|
md5sums=('687c213b3334d5a6c2dcef97805c5882' 'ad9773c0582cccc6e36ffaef0090d046')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
patch -p1 < ../ocrad-0.17-gcc43.patch || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install install-man || return 1
|
|
rm $pkgdir/usr/share/info/dir
|
|
gzip $pkgdir/usr/share/info/*
|
|
}
|