updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / wdg-html-validator / PKGBUILD
blob83d6b1e2e5a98fc2a2e513c41391835cee147122
1 # Contributor: Garrett <http://floft.net/contact>
2 pkgname=wdg-html-validator
3 pkgver=1.2.3
4 pkgrel=1
5 pkgdesc="HTMLHelp.com offline HTML validator"
6 arch=('any')
7 url='http://htmlhelp.com/tools/validator/offline/'
8 license=('GPL' 'PerlArtistic')
9 depends=('wdg-lq-nsgmls' 'wdg-sgml-lib')
10 source=(http://htmlhelp.com/tools/validator/offline/validate)
11 md5sums=(d6e5f401ee5fc6f69fc442d8d011eaf5)
13 build() {
14         cd "$srcdir/"
15         sed -i "s#/usr/local/bin/lq-nsgmls#/usr/bin/lq-nsgmls#g" validate
16         sed -i "s#/usr/local/share/wdg/sgml-lib#/usr/share/wdg/sgml-lib#g" validate
17         install -Dm755 "$srcdir/validate" "$pkgdir/usr/bin/validate"