updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / htmlcxx / PKGBUILD
blob62fb0c13ae60bfa5de486cdea398b4f9082bdefc
1 # Maintainer: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com>
3 pkgname=htmlcxx
4 pkgver=0.85
5 pkgrel=2
6 pkgdesc="A simple non-validating css1 and html parser for C++."
7 arch=('i686' 'x86_64')
8 url="http://htmlcxx.sourceforge.net/"
9 license=('LGPL')
10 depends=()
11 makedepends=()
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.
21 build() {
22         cd "$srcdir/htmlcxx-$pkgver"
23         
24         patch -p1 -i "$srcdir/missing-header.patch"
25         ./configure --prefix=/usr
26         make
29 package() {
30         cd "$srcdir/htmlcxx-$pkgver"
31         make DESTDIR="$pkgdir" install