summaryrefslogtreecommitdiff
path: root/robin-hood-hashing/Pkgfile
blob: 8116cabd3a374bcb456fb43fb5f493a21757e85a (plain)
    1 # Description: Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
    2 # URL: https://github.com/martinus/robin-hood-hashing
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: cmake 
    5 
    6 name=robin-hood-hashing
    7 version=3.11.5
    8 release=1
    9 source=(https://github.com/martinus/robin-hood-hashing/archive/$version/$name-$version.tar.gz)
   10 
   11 build() {
   12 	cmake -S $name-$version -B build \
   13 		-D CMAKE_INSTALL_PREFIX=/usr \
   14 		-D CMAKE_INSTALL_LIBDIR=lib \
   15 		-D RH_STANDALONE_PROJECT=OFF \
   16 
   17 	cmake --build build
   18 	DESTDIR=$PKG cmake --install build
   19 }

Generated by cgit