### this file is sourced not run
# source: james

repo=gumbo-parser
pkgname=lib${repo} # for SLACKDESC

# Uncomment either section [1] master commit or [2] official release below.

hash=aa91b27b02c0c80c482e24348a457ed7c3c088e0
MD5SUM=46ad4ad6ad2b19e55585a46d06995679
hash7=${hash#???????}; hash7=${hash%$hash7}
fetch_date=2020.04
PKGVER=0.10.1.$fetch_date

TARBALL=$pkgname-$PKGVER.tar.gz
SRC_URL=https://github.com/google/$repo/archive/$hash.tar.gz

PKGARCH=x86_64
PKGBUILD=1
BUNDLE=

SLACKREQ=''
SLACKDESC="$pkgname: $pkgname $PKGVER (HTML5 parser C library)
$pkgname: 
$pkgname: Gumbo is an implementation of the HTML5 parsing algorithm implemented 
$pkgname: as a pure C99 library with no outside dependencies. It's designed to 
$pkgname: serve as a building block for other tools and libraries such as 
$pkgname: linters, validators, templating languages, and refactoring and 
$pkgname: analysis tools.
$pkgname: 
$pkgname: https://github.com/google/gumbo-parser
$pkgname: 
$pkgname: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	cd /tmp/gumbo* &&
	NOCONFIGURE=1 ./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

# vim:ft=sh:

