void-packages/srcpkgs/uthash/template
bertronika 67b736abac
uthash: update to 2.3.0.
Upstream changelog has been added and short description now passes
xlint.

Closes: #33265 [via git-merge-pr]
2021-10-25 22:33:34 +02:00

21 lines
605 B
Bash

# Template file for 'uthash'
pkgname=uthash
version=2.3.0
revision=1
short_desc="Hash table for C structures"
maintainer="Diogo Leal <diogo@diogoleal.com>"
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
}