void-packages/srcpkgs/radicale/template
Nathan Owens cf0183848f radicale: change to python3
Also suggest migration to radicale2.

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-12 13:38:39 +01:00

34 lines
1 KiB
Bash

# Template file for 'radicale'
pkgname=radicale
version=1.1.6
revision=3
archs=noarch
wrksrc="Radicale-${version}"
build_style=python3-module
pycompile_module="radicale"
hostmakedepends="python3 python3-setuptools"
depends="python3-pam python3-requests python3-dulwich"
short_desc="Complete calendar and contact storing and manipulating solution"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3.0-or-later"
homepage="https://radicale.org"
distfiles="${PYPI_SITE}/R/Radicale/Radicale-${version}.tar.gz"
checksum=c007198ea45ef797344672c681d4c13f8b4aa85c15c41a1156225767a405c92b
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
}