summaryrefslogtreecommitdiff
path: root/pcr/radicale/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/radicale/PKGBUILD')
-rw-r--r--pcr/radicale/PKGBUILD39
1 files changed, 26 insertions, 13 deletions
diff --git a/pcr/radicale/PKGBUILD b/pcr/radicale/PKGBUILD
index 5244a63ab..f11a2e9c6 100644
--- a/pcr/radicale/PKGBUILD
+++ b/pcr/radicale/PKGBUILD
@@ -1,25 +1,38 @@
-# Maintainer (Arch): Guillaume Bouchard <guillaume.bouchard@liris.cnrs.fr>
+# Maintainer (Arch): Moritz Lipp <mlq@pwmt.org>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=radicale
-pkgver=0.8
+pkgver=0.10
pkgrel=1
pkgdesc="A Simple Calendar Server"
arch=any
url="http://www.radicale.org/"
license=('GPL3')
-depends=('python2')
+depends=('python>=3.2')
backup=('etc/radicale/config')
-source=(http://pypi.python.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz
- radicale.service)
-install=radicale.install
+install='radicale.install'
+source=(
+ http://pypi.python.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz
+ radicale.service
+ radicale.install
+)
+md5sums=('32655d8893962956ead0ad690cca6044'
+ '62af2e07ad32a0fcece32fae68e92daf'
+ '5613eec93efc5ef2ef68abd124fb6b61')
+optdepends=(
+ 'python-pam: For PAM authentication'
+ 'python-requests: For HTTP authentication'
+ 'python-ldap: For LDAP authentication'
+ )
package() {
cd "$srcdir/Radicale-$pkgver"
- python2 setup.py install --prefix=/usr --root="$pkgdir"
+ python 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"
+ install -m644 -D "$srcdir/Radicale-$pkgver/config" "$pkgdir/etc/radicale/config"
+ install -m644 -D "$srcdir/radicale.service" "$pkgdir/usr/lib/systemd/system/radicale.service"
+
+ install -m644 -D "$srcdir/Radicale-$pkgver/radicale.fcgi" \
+ "$pkgdir/usr/share/$pkgname/radicale.fcgi"
+ install -m644 -D "$srcdir/Radicale-$pkgver/radicale.wsgi" \
+ "$pkgdir/usr/share/$pkgname/radicale.wsgi"
}
-sha1sums=('05e07d8ff851d15bcdb7274680ee3aceeebe01c3'
- 'c8ef31d70828b302ad709d7db5557c05283efb47')
-sha256sums=('e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941'
- '8a56209f42de337a5bd12f9ce4de1719228dbeba9743e9ec454af3685a03b764')