# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=uthash pkgver=2.3.0 _sover=0 # based on Fedora package pkgrel=0 pkgdesc="C macros for hash tables and more" url="http://troydhanson.github.io/uthash/" arch="noarch" license="BSD-2-Clause" depends_dev="$pkgname=$pkgver-r$pkgrel" checkdepends="perl" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/troydhanson/$pkgname/archive/v$pkgver.tar.gz" replaces="libut" # Removed package check() { make -C tests make -C tests/threads } package() { mkdir -p "$pkgdir"/usr/include install -m 0644 src/*.h "$pkgdir"/usr/include/ } sha512sums="3b01f1074790fb242900411cb16eb82c1a9afcf58e3196a0f4611d9d7ef94690ad38c0a500e7783d3efa20328aa8d6ab14f246be63b3b3d385502ba2b6b2a294 uthash-2.3.0.tar.gz"