blob: 3ae253c77bcbf27f8c6c819f61fce4e96430979b (
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
28
29
30
31
32
|
# $Id: PKGBUILD 108204 2014-03-24 17:59:16Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=ocrad
pkgver=0.23
pkgrel=1
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
options=('staticlibs')
source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz")
md5sums=('bbcf34ec2ed2f6303bf546021184921c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install install-man
rm $pkgdir/usr/share/info/dir
gzip $pkgdir/usr/share/info/*
}
|