desktop/htmlcxx/PKGBUILD

23 lines
586 B
Bash
Raw Normal View History

2015-08-18 17:37:52 +08:00
pkgname=htmlcxx
2016-01-04 23:19:34 +08:00
pkgver=0.86
2018-02-12 09:33:57 +08:00
pkgrel=2
2015-08-18 17:37:52 +08:00
pkgdesc="A simple non-validating CSS1 and HTML parser for C++."
arch=('x86_64')
url="http://sourceforge.net/projects/htmlcxx/"
license=('LGPL')
2018-02-12 09:33:57 +08:00
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1')
2016-01-04 23:19:34 +08:00
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
}