blob: e2830ff4344c44d565ec674536bbc9e16c54b747 (
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
|
# Maintainer (Arch): Moritz Lipp <mlq@pwmt.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=radicale
_pkgname=Radicale
pkgver=1.0.1
pkgrel=2
pkgdesc="A Simple Calendar Server"
arch=any
url="http://www.radicale.org/"
license=('GPL3')
depends=('python>=3.2')
makedepends=('python-setuptools')
backup=('etc/radicale/config')
install='radicale.install'
source=(
http://pypi.python.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz
radicale-$pkgver.patch
radicale.service
radicale.install
)
md5sums=('e29e51df14bc8ca5a580998d5d592285'
'7d6a8ecdcb02f43780d106d8946338b3'
'f3abb0343e66a4045128b93184205d3e'
'5613eec93efc5ef2ef68abd124fb6b61')
optdepends=(
'python-pam: For PAM authentication'
'python-requests: For HTTP authentication'
'python-ldap: For LDAP authentication'
)
prepare() {
cd $srcdir/$_pkgname-$pkgver
patch -p1 < $startdir/$pkgname-$pkgver.patch
}
package() {
cd $srcdir/$_pkgname-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir"
install -m644 -D "$srcdir/$_pkgname-$pkgver/config" "$pkgdir/etc/radicale/config"
install -m644 -D "$srcdir/radicale.service" "$pkgdir/usr/lib/systemd/system/radicale.service"
install -m644 -D "$srcdir/$_pkgname-$pkgver/radicale.fcgi" \
"$pkgdir/usr/share/$pkgname/radicale.fcgi"
install -m644 -D "$srcdir/$_pkgname-$pkgver/radicale.wsgi" \
"$pkgdir/usr/share/$pkgname/radicale.wsgi"
}
|