summaryrefslogtreecommitdiff
path: root/core/xxhash/MAKEPKG
blob: d4b46aaed86435dd80effaaa81ce640223ac4dad (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
33
34
35
36
37
38
#!/bin/mkpkg
# description: Extremely fast non-cryptographic hash algorithm
# url: https://xxhash.com

name=xxhash
version=0.8.4
release=1

source=(https://github.com/Cyan4973/xxHash/archive/v$version/$name-$version.tar.gz)

depends=()
makedeps=()

sha256sums=(
    "5738270935e7c3d38a79b3adf7c9692566ce7895a25f67de43ad52ab504acd32"
)

build() {
    cd xxHash-$version

    make \
        PREFIX=/ \ 
        MANDIR=/usr/share/man/man1

    make install \
        DESTDIR=$PKG \
        PREFIX=/ \ 
        MANDIR=/usr/share/man/man1

    rm -f $PKG/lib/*.a
}

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

# vim: filetype=sh