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

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