2015-08-18 17:37:52 +08:00
|
|
|
pkgname=htmlcxx
|
2016-01-04 23:19:34 +08:00
|
|
|
pkgver=0.86
|
2015-08-18 17:37:52 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A simple non-validating CSS1 and HTML parser for C++."
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://sourceforge.net/projects/htmlcxx/"
|
|
|
|
license=('LGPL')
|
|
|
|
source=("http://heanet.dl.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
|
|
|
"missing-header.patch")
|
2016-01-04 23:19:34 +08:00
|
|
|
sha256sums=('07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1'
|
|
|
|
'2df7ea556410979f4ede3cb70d2067ba83eaadd437e3f68d67d0834cc8e4d33c')
|
|
|
|
|
2015-08-18 17:37:52 +08:00
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2016-01-04 23:19:34 +08:00
|
|
|
|
2015-08-18 17:37:52 +08:00
|
|
|
LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|