void-packages/srcpkgs/monocypher/template
2020-04-11 05:10:30 +02:00

27 lines
731 B
Bash

# Template file for 'monocypher'
pkgname=monocypher
version=3.1.0
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=f65e8cdd90ad7d0580a20a1e36eedaff150bf215a2f8096222cbf14149d94eb4
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"
}
}