diff --git a/common/shlibs b/common/shlibs index 35bd1adcae6..d9da9fb0c34 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3121,3 +3121,4 @@ libwayland-client++.so.0.2 libwaylandpp-2.2.0_1 libwayland-cursor++.so.0.2 libwaylandpp-2.2.0_1 libwayland-client-extra++.so.0.2 libwaylandpp-2.2.0_1 libfwup.so.1 fwupdate-10_1 +libargon2.so.1 libargon2-20171227_1 diff --git a/srcpkgs/argon2/template b/srcpkgs/argon2/template new file mode 100644 index 00000000000..2359788b453 --- /dev/null +++ b/srcpkgs/argon2/template @@ -0,0 +1,30 @@ +# Template file for 'argon2' +pkgname=argon2 +version=20171227 +revision=1 +wrksrc=phc-winner-argon2-${version} +build_style=gnu-makefile +make_use_env=yes +short_desc="Password hashing function" +maintainer="Piraty " +license="CC0 1.0 Universal, Apache 2.0" +homepage="https://github.com/P-H-C/phc-winner-argon2" +distfiles="https://github.com/P-H-C/phc-winner-argon2/archive/${version}.tar.gz" +checksum=eaea0172c1f4ee4550d1b6c9ce01aab8d1ab66b4207776aa67991eb5872fdcd8 + +libargon2_package() { + short_desc+="Password hashing library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libargon2-devel_package() { + short_desc+="Password hashing library - development files" + depends="libargon2>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/libargon2 b/srcpkgs/libargon2 new file mode 120000 index 00000000000..8c5c52e12dc --- /dev/null +++ b/srcpkgs/libargon2 @@ -0,0 +1 @@ +argon2 \ No newline at end of file diff --git a/srcpkgs/libargon2-devel b/srcpkgs/libargon2-devel new file mode 120000 index 00000000000..8c5c52e12dc --- /dev/null +++ b/srcpkgs/libargon2-devel @@ -0,0 +1 @@ +argon2 \ No newline at end of file