void-packages/srcpkgs/monocypher/template
Érico Rolim 2c1b690cb6 monocypher: update to 3.1.1.
Closes: #23075 [via git-merge-pr]
2020-09-29 14:21:13 -03:00

28 lines
731 B
Bash

# Template file for 'monocypher'
pkgname=monocypher
version=3.1.1
revision=1
build_style=gnu-makefile
short_desc="Easy to use crypto library inspired by libsodium and TweetNaCl"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause, CC0-1.0"
homepage="https://monocypher.org"
distfiles="https://monocypher.org/download/monocypher-${version}.tar.gz"
checksum=ed96874acfe75781cfbe06b049868920f0e9f493ec78e7d6e3879177a8d0af7a
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/share/man/man3
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}