description="C preprocessor implementations of a hash table and a linked list"
url="https://troydhanson.github.io/uthash/"

packager="Great-OS Team"
maintainer="rems"

name=uthash
version=2.3.0

PKGMK_KEEP_SOURCES="no"

source=(https://github.com/troydhanson/$name/archive/v$version.tar.gz)

build() {
  
  cd ${name}-${version}/src

install -dm755 "${PKG}"/usr/include/

# install header files in /usr/include
  for h in *.h; do
      install -m 644 ${h} "$PKG"/usr/include/
  done
}
