updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / sgrep / PKGBUILD
blob503ec63c1c94753260f22cfe6706892b6bbc944d
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Andeas W. Hauser <andy-aur@splashground.de>
4 pkgname=sgrep
5 pkgver=1.92a
6 pkgrel=2
7 pkgdesc="Structured GREP, for filtering based on structural criteria (for SGML,XML and HTML)"
8 arch=(i686 x86_64)
9 url="http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
10 license=('GPL')
11 depends=('glibc')
12 source=("ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/$pkgname-$pkgver.tar.gz")
13 md5sums=('99eb1ed515648f653fc7be45e0896378')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   ./configure --prefix=/usr \
19               --datadir=/usr/share/$pkgname \
20               --mandir=/usr/share/man
21   make
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir/" install