summaryrefslogtreecommitdiff
path: root/core/argon2/MAKEPKG
blob: 247bbe569cfda4ec77b74a4e645537a8f4eb1553 (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
#!/bin/mkpkg
# description: C library for Argon2 password hashing (LUKS2 PBKDF)
# url: https://github.com/P-H-C/phc-winner-argon2

name=argon2
version=20190702
release=1
depends=()
makedeps=()
source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version/phc-winner-argon2-$version.tar.gz)

sha256sums=(
    "daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c"
)

build() {
    cd phc-winner-argon2-$version
    make CC=clang OPTTARGET='' PREFIX=/ LIBRARY_REL=lib
    make CC=clang OPTTARGET='' PREFIX=$PKG LIBRARY_REL=lib install
    rm -f $PKG/lib/libargon2.a
}

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

# vim: filetype=sh