28 lines
695 B
Bash
28 lines
695 B
Bash
# Template file for 'monocypher'
|
|
pkgname=monocypher
|
|
version=2.0.2
|
|
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=f15f763bca02c33974d92918189c80011b1b894443c24cc3b3b5fba037edb6c3
|
|
|
|
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"
|
|
}
|
|
}
|
|
|