diff --git a/main/argon2/.checksums b/main/argon2/.checksums new file mode 100644 index 000000000..3aaf3e9ae --- /dev/null +++ b/main/argon2/.checksums @@ -0,0 +1 @@ +0f234cc21ac6cebfe373da6afa70bb1d argon2-20190702.tar.gz diff --git a/main/argon2/.pkgfiles b/main/argon2/.pkgfiles new file mode 100644 index 000000000..6057e2d83 --- /dev/null +++ b/main/argon2/.pkgfiles @@ -0,0 +1,12 @@ +argon2-20190702-1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/argon2 +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/argon2.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libargon2.a +lrwxrwxrwx root/root usr/lib/libargon2.so -> libargon2.so.1 +-rw-r--r-- root/root usr/lib/libargon2.so.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libargon2.pc diff --git a/main/argon2/spkgbuild b/main/argon2/spkgbuild new file mode 100644 index 000000000..4abd60d01 --- /dev/null +++ b/main/argon2/spkgbuild @@ -0,0 +1,17 @@ +# description : A password-hashing function (reference C implementation) +# homepage : https://github.com/P-H-C/phc-winner-argon2 +# depends : glibc + +name=argon2 +version=20190702 +release=1 +noextract="" +backup="" +source="https://github.com/P-H-C/phc-winner-argon2/archive/${version}/${name}-${version}.tar.gz" + +build() { + cd "$SRC/phc-winner-$name-$version" + + make OPTTARGET='none' LIBRARY_REL='lib' + make OPTTARGET='none' LIBRARY_REL='lib' DESTDIR="$PKG" install +}