1 # Contributor: judd <jvinet@zeroflux.org>
2 # Committer: Judd Vinet <jvinet@zeroflux.org>
3 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
8 pkgdesc="An interpreter for the AWK Programming Language"
12 url="http://freshmeat.net/projects/mawk/"
13 source=(ftp://invisible-island.net/$pkgname/$pkgname-${pkgver/_/-}.tgz)
14 md5sums=('447e7c322fa1e58141f5085bae87351f')
17 cd $srcdir/$pkgname-${pkgver/_/-}
18 sed -ie 's|log()|log(1.0)|g' configure
19 sed -ie "s|trap *0|trap 'exit 0' 0|g" test/*
24 cd $srcdir/$pkgname-${pkgver/_/-}
25 install -d $pkgdir/usr/bin
26 install -d $pkgdir/usr/share/man/man1
27 make BINDIR=$pkgdir/usr/bin \
28 MANDIR=$pkgdir/usr/share/man/man1 install