# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=triehash
pkgver=0.3
pkgrel=2
pkgdesc="Generator for order-preserving minimal perfect hash functions in C"
url="https://github.com/julian-klode/triehash"
arch="noarch"
license="MIT"
depends="perl"
source="$pkgname-$pkgver.tar.gz::https://github.com/julian-klode/triehash/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no tests

package() {
	install -Dvm755 triehash.pl "$pkgdir"/usr/bin/triehash
}

sha512sums="
6a9591dc095cce36777275c1886c844c447e69d5b2ea705b258ca30ec6ea1075f14e293852924edd30c94505bd7bccd7f4c60173e10ec7e70dbddf9700b8bef7  triehash-0.3.tar.gz
"
