updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wdg-lq-nsgmls / PKGBUILD
blobac3814741c11c66cca86006a5145328982d1f0cf
1 # Contributor: Garrett <http://floft.net/contact>
2 pkgname=wdg-lq-nsgmls
3 pkgver=1.3.4.14
4 pkgrel=1
5 pkgdesc="HTMLHelp.com offline HTML parser (for wdg-html-validator)"
6 arch=('any')
7 url='http://htmlhelp.com/tools/validator/offline/'
8 license=('GPL' 'PerlArtistic')
9 source=(http://htmlhelp.com/tools/validator/src/lq-sp-$pkgver.tar.gz)
10 md5sums=(9b65ab0dc4409d5907898be3e8cb0133)
12 build() {
13         cd "$srcdir/lq-sp-$pkgver"
14         #Makefile doesn't support PREFIX and DESTDIR
15         sed -i 's#prefix=/usr/local#prefix=/usr#g' Makefile
16         sed -i "s#bindir=\$(exec_prefix)/bin#bindir=$pkgdir/usr/bin#g" Makefile
17         make
20 package() {
21         cd "$srcdir/lq-sp-$pkgver"
22         #since it won't create it on it's own...
23         mkdir -p "$pkgdir/usr/bin"
24         make install