# Contributor: Leon Marz <main@lmarz.org>
# Maintainer: Leon Marz <main@lmarz.org>
pkgname=robin-map
pkgver=1.3.0
pkgrel=0
pkgdesc="C++ implementation of a fast hash map"
url="https://github.com/Tessil/robin-map"
arch="noarch"
license="MIT"
makedepends="cmake"
source="$pkgname-$pkgver.tar.gz::https://github.com/Tessil/robin-map/archive/v$pkgver.tar.gz"
options="!check" # no testsuite provided

build() {
	cmake -B build \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_DATADIR=lib \
		-DCMAKE_BUILD_TYPE=None
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
862cb98d771d1acb692e27d1cc8a4f2cda0883b66af7b38b63ea702ed2d4fc4d49e5700ca4d5f5148fee132f36e111c4839d4f8c52c96a9c60f3937d941b2320  robin-map-1.3.0.tar.gz
"
