29 lines
776 B
Bash
29 lines
776 B
Bash
# Template file for 'monocypher'
|
|
pkgname=monocypher
|
|
version=3.1.2
|
|
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"
|
|
changelog="https://monocypher.org/changelog"
|
|
distfiles="https://monocypher.org/download/monocypher-${version}.tar.gz"
|
|
checksum=f80a2e16d553e4b119634fd0e85ff86fc42afb4c9cc4569077854d1b6f5ef4f9
|
|
|
|
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"
|
|
}
|
|
}
|