void-packages/srcpkgs/monocypher/template

29 lines
776 B
Bash

# Template file for 'monocypher'
pkgname=monocypher
version=3.1.3
revision=1
build_style=gnu-makefile
short_desc="Easy to use crypto library inspired by libsodium and TweetNaCl"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-2-Clause, CC0-1.0"
homepage="https://monocypher.org"
changelog="https://monocypher.org/changelog"
distfiles="https://monocypher.org/download/monocypher-${version}.tar.gz"
checksum=b442b577df28f8c36caa01d9ae9011b5dd9c717d94be520168a04e36d7f5016e
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"
}
}