void-packages/srcpkgs/rvault/template
2022-02-12 17:14:03 +01:00

30 lines
912 B
Bash

# Template file for 'rvault'
pkgname=rvault
version=0.4
revision=1
build_wrksrc=src
build_style=gnu-makefile
make_use_env=yes
make_build_args="USE_SQLITE=1 USE_MBEDTLS=1 USE_OPENSSL=0 USE_SODIUM=0"
make_install_args="BINDIR=/usr/bin MANDIR=/usr/share/man"
hostmakedepends="pkgconf"
makedepends="libscrypt-devel mbedtls-devel fuse-devel libcurl-devel
libedit-devel sqlite-devel"
short_desc="Secure and authenticated store for secrets and small documents"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/rmind/rvault"
distfiles="https://github.com/rmind/rvault/archive/v${version}.tar.gz"
checksum=be729a5add68a1515de856ec88750d0d1ececadc540ac956e8f5730e1f27d47c
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_extract() {
vsed -e 's/-Werror//' -i ${build_wrksrc}/Makefile
}
post_install() {
vlicense ${wrksrc}/LICENSE
}