summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-05-09 12:55:39 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-05-09 12:55:39 -0300
commit38645b8df2bcf7ffe483e47145d876ad3a17964f (patch)
tree4bf17e5254ca53be3d46e3005f77854f02fcaaa7 /pcr
parentc2f0205881eddc0f4647fd82b1b77611ff81fc32 (diff)
downloadabslibre-38645b8df2bcf7ffe483e47145d876ad3a17964f.tar.gz
abslibre-38645b8df2bcf7ffe483e47145d876ad3a17964f.tar.bz2
abslibre-38645b8df2bcf7ffe483e47145d876ad3a17964f.zip
caldav server
Diffstat (limited to 'pcr')
-rw-r--r--pcr/radicale/PKGBUILD23
-rw-r--r--pcr/radicale/radicale.service6
2 files changed, 29 insertions, 0 deletions
diff --git a/pcr/radicale/PKGBUILD b/pcr/radicale/PKGBUILD
new file mode 100644
index 000000000..59e6868bb
--- /dev/null
+++ b/pcr/radicale/PKGBUILD
@@ -0,0 +1,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')
diff --git a/pcr/radicale/radicale.service b/pcr/radicale/radicale.service
new file mode 100644
index 000000000..c54bd0d73
--- /dev/null
+++ b/pcr/radicale/radicale.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=RadiCAL Server
+
+[Service]
+ExecStart=/usr/bin/radicale
+KillMode=process