blob: 935572f270a6cbce89d40fcb559c2ffbe228312e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=radicale
pkgver=1.1.1
pkgrel=1
pkgdesc="A simple CalDAV (calendar) and CardDAV (contact) server"
url="http://radicale.org"
arch="noarch"
license="GPLv3+"
depends="python"
depends_dev=""
makedepends="$depends_dev python py-setuptools"
pkgusers="radicale"
pkggroups="radicale"
install="$pkgname.pre-install"
subpackages=""
source="https://files.pythonhosted.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz
$pkgname-systemwide.patch
$pkgname.initd"
_builddir="$srcdir"/Radicale-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --skip-build --prefix=/usr \
--root="$pkgdir" || return 1
install -d "$pkgdir"/etc/radicale
install -m640 config "$pkgdir"/etc/radicale/ || return 1
install -m640 logging "$pkgdir"/etc/radicale/ || return 1
install -d -o radicale "$pkgdir"/var/lib/radicale \
"$pkgdir"/var/log/radicale || return 1
install -Dm755 "$srcdir"/radicale.initd \
"$pkgdir"/etc/init.d/radicale || return 1
}
md5sums="a29dd538377ea24cec83237a636122ae Radicale-1.1.1.tar.gz
1175007391c9a27c06f5830543710402 radicale-systemwide.patch
8f017c52eef88c16a8cde11265f482fc radicale.initd"
sha256sums="e2c9812913c464ab88ae1f66b29e81f87a4cc6ee1c94d167b33508c530dab4b0 Radicale-1.1.1.tar.gz
68fd1b42ebd3c347012be28268cac26b63d6a9391fbd6df6f52fb5955b55ed79 radicale-systemwide.patch
05026eb64495b272f08692ea51d44722a5f109e35506d5aaaf3293c511d734a8 radicale.initd"
sha512sums="dc251d8fa4d347c2bbcf472b7a2da94d674f858a007fec1d74774cd1f3ae43eb2d5902ed45762638ec49546b8ee1f66446d07b50fc0ff6595deb67ea07f87af2 Radicale-1.1.1.tar.gz
4b8327147ae7b620a76eb3070d10b79aa823b5ab2aa53f6ef73adde83a4b2c78afc929d265f54fe747acbc0e524cdbfbb84b72c576f8ab029a3a410236ebd966 radicale-systemwide.patch
dd0e7641687592f5b6b053c6f7170bd81747467db690827906826684b8cafd3de9a065d5389d6f3beb5e02fa6ba6daf2bcd77022ec1505dc88abc2e8f6b17a57 radicale.initd"
|