diff options
Diffstat (limited to 'core/argon2/MAKEPKG')
| -rw-r--r-- | core/argon2/MAKEPKG | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/core/argon2/MAKEPKG b/core/argon2/MAKEPKG new file mode 100644 index 0000000..247bbe5 --- /dev/null +++ b/core/argon2/MAKEPKG @@ -0,0 +1,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 |
