milis/talimatname/genel/a/argon2/talimat

19 lines
530 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: The password hash Argon2, winner of PHC
2017-07-25 03:37:31 +02:00
# URL: https://github.com/P-H-C/phc-winner-argon2
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-07-25 03:37:31 +02:00
name=argon2
version=20161029
release=1
2017-07-26 01:53:37 +02:00
source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version.tar.gz::$name-$version.tar.gz)
2017-07-25 03:37:31 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-07-25 03:37:31 +02:00
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
}