diff --git a/srcpkgs/monocypher-devel b/srcpkgs/monocypher-devel new file mode 120000 index 00000000000..a4bb82963b1 --- /dev/null +++ b/srcpkgs/monocypher-devel @@ -0,0 +1 @@ +monocypher \ No newline at end of file diff --git a/srcpkgs/monocypher/template b/srcpkgs/monocypher/template new file mode 100644 index 00000000000..1c44b028f4e --- /dev/null +++ b/srcpkgs/monocypher/template @@ -0,0 +1,27 @@ +# Template file for 'monocypher' +pkgname=monocypher +version=2.0.0 +revision=1 +build_style=gnu-makefile +short_desc="Easy to use crypto library inspired by libsodium and TweetNaCl" +maintainer="cr6git " +homepage="https://monocypher.org" +license="2-clause-BSD" +distfiles="https://monocypher.org/download/monocypher-${version}.tar.gz" +checksum=295514dd67cd277a9e96d83b18c102d8221ec4cf83977fca2de444947b126484 + +post_install() { + vlicense LICENCE.md +} + +monocypher-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} +