void-packages/srcpkgs/monocypher/template
2018-08-24 21:11:55 +02:00

27 lines
695 B
Bash

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