void-packages/srcpkgs/monocypher/template
2018-03-16 14:52:26 +01:00

27 lines
695 B
Bash

# Template file for 'monocypher'
pkgname=monocypher
version=2.0.1
revision=1
build_style=gnu-makefile
short_desc="Easy to use crypto library inspired by libsodium and TweetNaCl"
maintainer="cr6git <quark6@protonmail.com>"
homepage="https://monocypher.org"
license="2-clause-BSD"
distfiles="https://monocypher.org/download/monocypher-${version}.tar.gz"
checksum=636caa7f60b33f192bcb455cf2a60bf95f433715f19a414500fd41b7e36451b9
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"
}
}