From cd3a3f6505cf79042c01c493d269c4e7aef410d8 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sun, 3 Jul 2016 21:32:19 -0300 Subject: [PATCH] uthash: update to 2.0.0 --- srcpkgs/uthash/template | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/srcpkgs/uthash/template b/srcpkgs/uthash/template index 100cd2a3c8..6e46568f86 100644 --- a/srcpkgs/uthash/template +++ b/srcpkgs/uthash/template @@ -1,23 +1,20 @@ # Template file for 'uthash' pkgname=uthash -version=1.9.9 -revision=2 +version=2.0.0 +revision=1 short_desc="A hash table for C structures" maintainer="Diogo Leal " license="BSD" homepage="http://troydhanson.github.com/uthash/" distfiles="https://github.com/troydhanson/uthash/archive/v${version}.tar.gz" -checksum=f2f10115f4de03b98d8c2e860e241d165aa15019bd634ee0e3debe58341bbf0c +checksum=54b900e9159168fdad29b78d680be8ab09987d40fc31b018ec5a1347e763dfde do_install() { vmkdir usr/include - vcopy src/utarray.h usr/include - vcopy src/uthash.h usr/include - vcopy src/utlist.h usr/include - vcopy src/utstring.h usr/include - vdoc doc/userguide.txt - vdoc doc/utarray.txt - vdoc doc/utlist.txt - vdoc doc/utstring.txt - vlicense LICENSE + vcopy src/* /usr/include + cd doc/ + for docs in *.txt; do + vdoc $docs + done + vlicense ../LICENSE }