diff options
author | root <root@rshg054.dnsready.net> | 2011-12-01 23:14:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-01 23:14:46 +0000 |
commit | 9e9ab642711f2424f828e21d14b98c45cdef2b29 (patch) | |
tree | 5c1495cfda2b453e377084bad1b20e431e119063 /extra/ocrad | |
parent | bc0657f7159d0b01373ecb59afc426b98a172b1e (diff) |
Thu Dec 1 23:14:46 UTC 2011
Diffstat (limited to 'extra/ocrad')
-rw-r--r-- | extra/ocrad/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/ocrad/PKGBUILD b/extra/ocrad/PKGBUILD index 52fb00e05..558a54992 100644 --- a/extra/ocrad/PKGBUILD +++ b/extra/ocrad/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 106659 2011-01-17 20:26:09Z giovanni $ +# $Id: PKGBUILD 143923 2011-11-30 20:57:38Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> pkgname=ocrad pkgver=0.21 -pkgrel=1 +pkgrel=2 pkgdesc="An Optical Character Recognition program" 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.gz) +source=("http://ftp.gnu.org/gnu/ocrad/ocrad-$pkgver.tar.gz") md5sums=('83f9eae9d808f9d86c181538d3f64aed') build() { @@ -18,10 +18,14 @@ build() { ./configure --prefix=/usr \ CXXFLAGS="${CXXFLAGS}" \ - LDFLAGS="${LDFLAGS}" || return 1 - make || return 1 + LDFLAGS="${LDFLAGS}" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install install-man || return 1 + make DESTDIR="${pkgdir}" install install-man rm $pkgdir/usr/share/info/dir gzip $pkgdir/usr/share/info/* } |