1 # Maintainer: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com>
6 pkgdesc="A simple non-validating css1 and html parser for C++."
8 url="http://htmlcxx.sourceforge.net/"
12 conflicts=('htmlcxx' 'libhtmlcxx' 'libcss_parser')
13 provides=('htmlcxx' 'libhtmlcxx' 'libcss_parser')
14 source=("http://kent.dl.sourceforge.net/project/htmlcxx/htmlcxx/$pkgver/htmlcxx-$pkgver.tar.gz"
15 "missing-header.patch")
16 md5sums=(dbe13c25b5846eb7cbbfa63d85f00f74
17 6c89882e310e9945fb0f4cdbb1f965bf)
19 # Thanks to jgehring for the patch.
22 cd "$srcdir/htmlcxx-$pkgver"
24 patch -p1 -i "$srcdir/missing-header.patch"
25 ./configure --prefix=/usr
30 cd "$srcdir/htmlcxx-$pkgver"
31 make DESTDIR="$pkgdir" install