29 lines
953 B
Bash
29 lines
953 B
Bash
# Template file for 'vaultwarden'
|
|
pkgname=vaultwarden
|
|
version=1.28.1
|
|
revision=1
|
|
archs="x86_64* aarch64* arm*" # ring
|
|
build_style=cargo
|
|
configure_args="--features sqlite,mysql,postgresql"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel libmysqlclient-devel postgresql-libs-devel
|
|
sqlite-devel"
|
|
short_desc="Unofficial Bitwarden compatible server written in Rust"
|
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
|
license="AGPL-3.0-only"
|
|
homepage="https://github.com/dani-garcia/vaultwarden"
|
|
changelog="https://github.com/dani-garcia/vaultwarden/releases"
|
|
distfiles="https://github.com/dani-garcia/vaultwarden/archive/${version}.tar.gz"
|
|
checksum=d6991cba20d8aaf7559eb4b8a7d82b68476c12d4913142490839addc2562d12a
|
|
|
|
system_accounts="_vaultwarden"
|
|
_vaultwarden_homedir="/var/lib/vaultwarden"
|
|
|
|
make_dirs="/var/lib/vaultwarden 0750 _vaultwarden _vaultwarden"
|
|
|
|
post_install() {
|
|
vsconf .env.template vaultwarden.conf
|
|
vsv vaultwarden
|
|
vlicense LICENSE.txt
|
|
}
|