updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / htp / PKGBUILD
blob4eaeba4f3cf63dbeaa0f10170c4e4ffff5fe0c7e
1 # Contributor: Jonathan Liu <net147@gmail.com>
2 pkgname=htp
3 pkgver=1.16
4 pkgrel=3
5 pkgdesc="HTML pre-processor"
6 arch=('i686' 'x86_64')
7 url="http://htp.sf.net"
8 license=('custom:artistic')
9 depends=('glibc' 'perl')
10 options=('docs')
11 makedepends=('make' 'gcc')
12 source=("http://downloads.sourceforge.net/htp/$pkgname-$pkgver.tar.gz"
13         "va_copy.patch"
14         "ver.c.patch")
15 md5sums=('8f5a720601e8406147fa146cfca77f34'
16          '95620b1ddbd88e8edfc5c074d2ddd629'
17          'f6de34f657ed39f4e680537dd6e68d68')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   patch -Np1 -i "$srcdir/va_copy.patch" || return 1
22   patch -Np1 -i "$srcdir/ver.c.patch" || return 1
23   make || return 1
24   make prefix="$pkgdir"/usr install || return 1
25   install -D -m644 CLARIFIED_ARTISTIC "$pkgdir"/usr/share/licenses/$pkgname/CLARIFIED_ARTISTIC
28 # vim:set ts=2 sw=2 et: