summaryrefslogtreecommitdiff
path: root/pcr/radicale/PKGBUILD
blob: 879cda8d4c84791292b60141f3afeb7db1f86722 (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
# Maintainer: Guillaume Bouchard <guillaume.bouchard@liris.cnrs.fr>
pkgname=radicale
pkgver=0.8
pkgrel=1
pkgdesc="A Simple Calendar Server"
arch=any
url="http://www.radicale.org/"
license=('GPL3')
depends=('python2')
backup=('etc/radicale/config')
source=(http://pypi.python.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz
	radicale.service)
install=radicale.install

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

  install -D "$srcdir/Radicale-$pkgver/config" "$pkgdir/etc/radicale/config"
  install -m744 -D "$srcdir/radicale.service" "$pkgdir/usr/lib/systemd/system/radicale.service"
}
sha1sums=('05e07d8ff851d15bcdb7274680ee3aceeebe01c3'
          'c8ef31d70828b302ad709d7db5557c05283efb47')
sha256sums=('e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941'
            '8a56209f42de337a5bd12f9ce4de1719228dbeba9743e9ec454af3685a03b764')