opt/robin-hood-hashing/Pkgfile
2022-02-20 22:24:54 +11:00

20 lines
573 B
Plaintext

# Description: Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
# URL: https://github.com/martinus/robin-hood-hashing
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake
name=robin-hood-hashing
version=3.11.5
release=1
source=(https://github.com/martinus/robin-hood-hashing/archive/$version/$name-$version.tar.gz)
build() {
cmake -S $name-$version -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D RH_STANDALONE_PROJECT=OFF \
cmake --build build
DESTDIR=$PKG cmake --install build
}