ring-daemon.paketlendi

This commit is contained in:
milisbir 2017-07-25 04:37:31 +03:00
parent 60d0461e65
commit e79e5879ca
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Description: The password hash Argon2, winner of PHC
# URL: https://github.com/P-H-C/phc-winner-argon2
# Packager: milisarge
# Depends on:
name=argon2
version=20161029
release=1
source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version.tar.gz--$name-$version.tar.gz)
build() {
cd phc-winner-argon2-$version
sed -i "/^#/d;s/\/@HOST_MULTIARCH@//g;s/@UPSTREAM_VER@/$version/g" libargon2.pc
sed -i '1d' libargon2.pc
make -j1
make DESTDIR="$PKG" install
install -Dm644 libargon2.pc $PKG/usr/lib/pkgconfig/libargon2.pc
}