27 lines
695 B
Bash
27 lines
695 B
Bash
# Template file for 'monocypher'
|
|
pkgname=monocypher
|
|
version=2.0.4
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
short_desc="Easy to use crypto library inspired by libsodium and TweetNaCl"
|
|
maintainer="cr6git <quark6@protonmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://monocypher.org"
|
|
distfiles="https://monocypher.org/download/monocypher-${version}.tar.gz"
|
|
checksum=a1e820c30abcc351dba5709ebf80a35a10c3cc97ffea0b0ece2a5834d2f88165
|
|
|
|
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"
|
|
}
|
|
}
|
|
|