compat-32/robin-hood-hashing-32/Pkgfile

22 lines
664 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: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: robin-hood-hashing
name=robin-hood-hashing-32
version=3.11.5
release=1
source=(https://github.com/martinus/robin-hood-hashing/archive/$version/robin-hood-hashing-$version.tar.gz)
build() {
cmake -S robin-hood-hashing-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib32 \
-D RH_STANDALONE_PROJECT=OFF \
cmake --build build
DESTDIR=$PKG cmake --install build
rm -r $PKG/usr/include
}