summaryrefslogtreecommitdiff
path: root/pcr/radicale/PKGBUILD
blob: 59e6868bb4112dfd24f78d6646a1774059bd7635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Guillaume Bouchard <guillaume.bouchard@liris.cnrs.fr>
pkgname=radicale
pkgver=0.7.1
pkgrel=1
pkgdesc="A Simple Calendar Server"
arch=any
url="http://www.radicale.org/"
license=('GPL3')
depends=('python')
backup=('etc/radicale/config')
source=(http://pypi.python.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz
	radicale.service)

package() {
  cd "$srcdir/Radicale-$pkgver"
  python setup.py install --prefix=/usr --root="$pkgdir" || return 1

  install -D "$srcdir/Radicale-$pkgver/config" "$pkgdir/etc/radicale/config"
  install -m744 -D "$srcdir/radicale.service" "$pkgdir/usr/lib/systemd/system/radicale.service"
}
  
md5sums=('ab1167b1ee713a7a58d843c5921f3327'
         '50baf7d766c131287a03c6b0b8bd943f')