29 lines
776 B
Bash
29 lines
776 B
Bash
# Template file for 'monocypher'
|
|
pkgname=monocypher
|
|
version=4.0.1
|
|
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=2f5796dba699cfdda5acd7721bf7df2c42e7e01d5cb843294a2a6e0a28cec0e9
|
|
|
|
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"
|
|
}
|
|
}
|