summaryrefslogtreecommitdiff
path: root/libs/robin-hood-hashing/MAKEPKG
blob: 77132a98c5f65cf28dd84dc801db6d44d33bf8a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/mkpkg
# description: Fast & memory efficient hashtable for C++
# url: https://github.com/martinus/robin-hood-hashing

name=robin-hood-hashing
version=3.11.5
release=1
makedeps=(cmake ninja)
source=(https://github.com/martinus/robin-hood-hashing/archive/$version/$name-$version.tar.gz)

sha256sums=(
    "3693e44dda569e9a8b87ce8263f7477b23af448a3c3600c8ab9004fe79c20ad0"
)

build() {
    cmake -S $name-$version -B build -G Ninja \
        -D CMAKE_INSTALL_PREFIX=/usr \
        -D CMAKE_INSTALL_LIBDIR=share \
        -D CMAKE_BUILD_TYPE=Release \
        -D RH_STANDALONE_PROJECT=OFF \
        -Wno-dev
    
    cmake --build build
    DESTDIR=$PKG cmake --install build
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh