void-packages/srcpkgs/rvault/template

27 lines
837 B
Bash

# Template file for 'rvault'
pkgname=rvault
version=0.2
revision=2
build_style=gnu-makefile
build_wrksrc=src
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="Juan RP <xtraeme@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/rmind/rvault"
distfiles="https://github.com/rmind/rvault/archive/v${version}.tar.gz"
checksum=0927017cab3d0f29cb9e6cd537405aa3c1bf302d1285cb7c16da656ba73aa1be
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() {
vlicense ${wrksrc}/LICENSE
}