blob: a5bfd577f404cca0faafc0144b37257593b67cf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $Id: PKGBUILD 106659 2011-01-17 20:26:09Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=ocrad
pkgver=0.21
pkgrel=1
pkgdesc="An Optical Character Recognition program"
arch=('i686' 'x86_64' 'mips64el')
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.gz)
md5sums=('83f9eae9d808f9d86c181538d3f64aed')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" || return 1
make || return 1
make DESTDIR="${pkgdir}" install install-man || return 1
rm $pkgdir/usr/share/info/dir
gzip $pkgdir/usr/share/info/*
}
|