From bf35116f9d203dcafce808a6c7b3dd5a0db8afbc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Aug 2011 04:35:55 +0000 Subject: Tue Aug 2 04:35:55 UTC 2011 --- community/hubbub/PKGBUILD | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'community/hubbub') diff --git a/community/hubbub/PKGBUILD b/community/hubbub/PKGBUILD index 86f8c3b53..7036b3242 100644 --- a/community/hubbub/PKGBUILD +++ b/community/hubbub/PKGBUILD @@ -1,29 +1,28 @@ -# $Id: PKGBUILD 22547 2010-07-22 13:02:46Z lcarlier $ +# $Id: PKGBUILD 52652 2011-07-26 19:12:51Z ebelanger $ # Contributor: Paulo Matias # Maintainer: Daniel J Griffiths pkgname=hubbub -pkgver=0.0.2 +pkgver=0.1.0 pkgrel=1 pkgdesc="HTML5 compliant parsing library" arch=('i686' 'x86_64') url="http://www.netsurf-browser.org/projects/hubbub" license=('MIT') -depends=('libparserutils') +depends=('glibc' 'libparserutils') source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz") -md5sums=('dbdc6bb13a71ce72384d7ee5891a0382') +md5sums=('9d7bb287bd5f993902c577ce3503f6d5') build() { - cd ${srcdir}/${pkgname}-${pkgver} - -# sed -i 's/const uint8_t \*cptr;/const uint8_t \*cptr = 0;/; -# s/size_t len;/size_t len = 0;/' src/tokeniser/tokeniser.c - make PREFIX=/usr + cd "${srcdir}/${pkgname}-${pkgver}-src" + sed -i 's/-Werror//' Makefile + make PREFIX=/usr COMPONENT_TYPE="lib-shared" + make PREFIX=/usr COMPONENT_TYPE="lib-static" } package() { - cd ${srcdir}/${pkgname}-${pkgver} - - make install PREFIX=/usr DESTDIR=${pkgdir} - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + cd "${srcdir}/${pkgname}-${pkgver}-src" + make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared" + make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } -- cgit v1.2.3-54-g00ecf