47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
# Template file for 'radicale'
|
|
pkgname=radicale
|
|
version=3.1.3
|
|
revision=1
|
|
wrksrc="Radicale-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-pam python3-requests python3-dulwich python3-vobject
|
|
python3-dateutil python3-passlib python3-bcrypt python3-defusedxml
|
|
apache-htpasswd"
|
|
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"
|
|
changelog="https://github.com/Kozea/Radicale/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/Kozea/Radicale/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=7c5b7653dd774dab790a6f64918a48acd990ea6ba3ba31cb24300efc2818e94e
|
|
conf_files="
|
|
/etc/radicale/config
|
|
/etc/radicale/rights
|
|
/etc/radicale/users
|
|
/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"
|
|
radicale_descr="Radicale user"
|
|
replaces="radicale2<3.0.6"
|
|
|
|
post_install() {
|
|
vinstall config 644 etc/radicale/
|
|
vinstall rights 640 etc/radicale/
|
|
vinstall /dev/null 640 etc/radicale users
|
|
vinstall config 644 usr/share/examples/radicale
|
|
vinstall radicale.wsgi 644 usr/share/radicale
|
|
vsv radicale
|
|
vdoc README.md
|
|
}
|
|
|
|
radicale2_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
build_style=meta
|
|
}
|