void-packages/srcpkgs/radicale2/template

38 lines
1.2 KiB
Bash

# Template file for 'radicale2'
pkgname=radicale2
version=2.1.11
revision=1
archs=noarch
wrksrc="Radicale-${version}"
build_style=python3-module
pycompile_module="radicale"
hostmakedepends="python3 python3-setuptools"
depends="python3-pam python3-requests python3-dulwich python3-vobject
python3-dateutil python3-passlib python3-bcrypt"
# added passlib and bcrypt, since its seems to be the safest option.
short_desc="Complete calendar and contact storing and manipulating solution"
maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://radicale.org"
distfiles="https://github.com/Kozea/Radicale/archive/${version}.tar.gz"
checksum=e21ec1c1c98dacd63b6159d8510368b206fa244a241e052080a15ad5a98ee166
conflicts="radicale"
provides="radicale-${version}_${revision}"
conf_files="
/etc/radicale/config
/etc/sv/radicale/log/run"
make_dirs="
/etc/radicale 755 root root
/usr/share/radicale/ 755 root root
/var/log/radicale/ 700 root root
/var/lib/radicale 750 radicale radicale"
system_accounts="radicale"
radicale_homedir="/var/lib/radicale"
post_install() {
vinstall config 644 etc/radicale/
vinstall radicale.fcgi 644 usr/share/radicale
vinstall radicale.wsgi 644 usr/share/radicale
vsv radicale
}