summaryrefslogtreecommitdiff
path: root/community/hubbub/PKGBUILD
blob: 221a8629295c4323e5bdc1d186942043b48ce668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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' 'mips64el')
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
}