1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
7 pkgdesc='OCR (Optical Character Recognition) program based on a feature extraction method'
9 url='https://www.gnu.org/software/ocrad/'
12 source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz")
13 sha256sums=('34ccea576dbdadaa5979e6202344c3ff68737d829ca7b66f71c8497d36bbbf2e')
17 ./configure --prefix=/usr CXXFLAGS="$CXXFLAGS -ffat-lto-objects" LDFLAGS="$LDFLAGS"
23 make DESTDIR="$pkgdir" install