diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-12 16:26:30 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-12 16:26:30 -0300 |
commit | 6abc75d5f0c4d5c8302715a7da59cc02d22fbe36 (patch) | |
tree | 95daa7da483c5aaafd7188cbf26c5f1500847b0f /pcr/radicale | |
parent | 506bee740f4f721499a850366a3764007b3d6561 (diff) |
some stuff i had hanging around
Diffstat (limited to 'pcr/radicale')
-rw-r--r-- | pcr/radicale/PKGBUILD | 16 | ||||
-rw-r--r-- | pcr/radicale/radicale.service | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/pcr/radicale/PKGBUILD b/pcr/radicale/PKGBUILD index b4f76f6ab..879cda8d4 100644 --- a/pcr/radicale/PKGBUILD +++ b/pcr/radicale/PKGBUILD @@ -1,23 +1,25 @@ # Maintainer: Guillaume Bouchard <guillaume.bouchard@liris.cnrs.fr> pkgname=radicale -pkgver=0.7.1 -pkgrel=2 +pkgver=0.8 +pkgrel=1 pkgdesc="A Simple Calendar Server" arch=any url="http://www.radicale.org/" license=('GPL3') -depends=('python') +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" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + 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" } - -md5sums=('ab1167b1ee713a7a58d843c5921f3327' - 'dbdfedb46af4ceed0ad0db3441b5a266') +sha1sums=('05e07d8ff851d15bcdb7274680ee3aceeebe01c3' + 'c8ef31d70828b302ad709d7db5557c05283efb47') +sha256sums=('e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941' + '8a56209f42de337a5bd12f9ce4de1719228dbeba9743e9ec454af3685a03b764') diff --git a/pcr/radicale/radicale.service b/pcr/radicale/radicale.service index 293cad6e2..a159b772e 100644 --- a/pcr/radicale/radicale.service +++ b/pcr/radicale/radicale.service @@ -5,6 +5,8 @@ After=network.target [Service] ExecStart=/usr/bin/radicale ExecStop=/bin/kill -HUP $MAINPID +User=cal +Group=cal [Install] WantedBy=multi-user.target |