1 # Contributor: Kyle Keen <keenerd@gmail.com>
5 pkgdesc="Tiny dynamic CGI with your shell or Lua."
7 url="http://haserl.sourceforge.net"
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
12 md5sums=('1f692db8939858338a44e25d0190aa9e')
15 cd "$srcdir"/$pkgname-$pkgver
16 ./configure --enable-bash-extensions prefix="$pkgdir/usr"
18 #make install is too easy
19 install -d "$pkgdir/usr/bin"
20 install -d "$pkgdir/usr/share/man/man1"
21 install -Dm644 doc/haserl.1 "$pkgdir/usr/share/man/man1/"
22 gzip -f "$pkgdir/usr/share/man/man1/haserl.1"
23 install -Dm755 src/haserl "$pkgdir/usr/bin/haserl-sh"
25 ./configure --with-lua prefix="$pkgdir/usr"
27 install -Dm755 src/haserl "$pkgdir/usr/bin/haserl-lua"
29 ln -s "/usr/bin/haserl-sh" "$pkgdir/usr/bin/haserl"