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