# Template file for 'uthash'
pkgname=uthash
version=2.3.0
revision=1
short_desc="Hash table for C structures"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="http://troydhanson.github.com/uthash/"
changelog="https://raw.githubusercontent.com/troydhanson/uthash/master/doc/ChangeLog.txt"
distfiles="https://github.com/troydhanson/uthash/archive/v${version}.tar.gz"
checksum=e10382ab75518bad8319eb922ad04f907cb20cccb451a3aa980c9d005e661acc

do_install() {
	vmkdir usr/include
	vcopy src/* /usr/include
	cd doc/
	for docs in *.txt; do
		vdoc $docs
	done
	vlicense ../LICENSE
}
