diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/hubbub/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/hubbub/PKGBUILD')
-rw-r--r-- | community/hubbub/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/hubbub/PKGBUILD b/community/hubbub/PKGBUILD new file mode 100644 index 000000000..86f8c3b53 --- /dev/null +++ b/community/hubbub/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 22547 2010-07-22 13:02:46Z lcarlier $ +# Contributor: Paulo Matias <matiasΘarchlinux-br·org> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=hubbub +pkgver=0.0.2 +pkgrel=1 +pkgdesc="HTML5 compliant parsing library" +arch=('i686' 'x86_64') +url="http://www.netsurf-browser.org/projects/hubbub" +license=('MIT') +depends=('libparserutils') +source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz") +md5sums=('dbdc6bb13a71ce72384d7ee5891a0382') + +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 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make install PREFIX=/usr DESTDIR=${pkgdir} + install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING +} |