26 lines
695 B
Bash
26 lines
695 B
Bash
# Template file for 'monocypher'
|
|
pkgname=monocypher
|
|
version=2.0.6
|
|
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"
|
|
homepage="https://monocypher.org"
|
|
distfiles="https://monocypher.org/download/monocypher-${version}.tar.gz"
|
|
checksum=dda42e133d4d93c61d2d83b7e8bb511a94e6db6817e4eb2f373279f3fc4ef350
|
|
|
|
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"
|
|
}
|
|
}
|