desktop/htmlcxx/PKGBUILD
2018-02-12 01:33:57 +00:00

23 lines
586 B
Bash

pkgname=htmlcxx
pkgver=0.86
pkgrel=2
pkgdesc="A simple non-validating CSS1 and HTML parser for C++."
arch=('x86_64')
url="http://sourceforge.net/projects/htmlcxx/"
license=('LGPL')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}