26 lines
837 B
Bash
26 lines
837 B
Bash
# Template file for 'rvault'
|
|
pkgname=rvault
|
|
version=0.3
|
|
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="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=e7480aaf7bb2feb5c7bc0d2a0c6998583d2ad41417ec4aadbf9ccb001f76d7a1
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
makedepends+=" musl-legacy-compat"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense ${wrksrc}/LICENSE
|
|
}
|