summaryrefslogtreecommitdiff
path: root/pcr/radicale/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-13 12:53:48 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-13 12:53:48 -0400
commitf6fde4b83792b43883cdccac2a46145d48cef42d (patch)
tree9de2ea480baf7073f53b3bf5d88dc1e48cbf9fa0 /pcr/radicale/PKGBUILD
parent78bf47e43de121f3460b6c6f608bd5f5b8a85f28 (diff)
parent3bc640f96a0afc77163253ad0ed504057c8e7e00 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/radicale/PKGBUILD')
-rw-r--r--pcr/radicale/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/radicale/PKGBUILD b/pcr/radicale/PKGBUILD
new file mode 100644
index 000000000..b4f76f6ab
--- /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=2
+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'
+ 'dbdfedb46af4ceed0ad0db3441b5a266')