archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gumbo-parser / trunk / PKGBUILD
blob50ea2260cb19b39b96ac857a16f7b985d8f6e754
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
3 pkgname=gumbo-parser
4 pkgver=0.10.1
5 pkgrel=2
6 pkgdesc="HTML5 parsing library in pure C99"
7 arch=(x86_64)
8 url="https://github.com/google/gumbo-parser"
9 license=(Apache)
10 depends=(glibc)
11 checkdepends=(gtest)
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/google/gumbo-parser/archive/v0.10.1.tar.gz")
13 sha256sums=('28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad')
15 prepare() {
16         cd $pkgname-$pkgver
17         ./autogen.sh
20 build() {
21         cd $pkgname-$pkgver
22         ./configure --prefix=/usr
23         make
26 check() {
27         cd $pkgname-$pkgver
28         make -k check
31 package() {
32         cd $pkgname-$pkgver
33         make DESTDIR="$pkgdir" install