diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-11-04 19:27:52 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-11-04 19:27:52 -0500 |
commit | af4a3f126cee8075f10ba59559aed0d906a37999 (patch) | |
tree | b5254c1d27cca072212f1c0e055be53282746476 /pcr/radicale/PKGBUILD | |
parent | bae26e2d8b2446071eddaf139a12bdd71a747f59 (diff) |
radicale-1.0.1-2: updating version
Diffstat (limited to 'pcr/radicale/PKGBUILD')
-rw-r--r-- | pcr/radicale/PKGBUILD | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/pcr/radicale/PKGBUILD b/pcr/radicale/PKGBUILD index 3f735ac3d..e2830ff43 100644 --- a/pcr/radicale/PKGBUILD +++ b/pcr/radicale/PKGBUILD @@ -1,38 +1,48 @@ # Maintainer (Arch): Moritz Lipp <mlq@pwmt.org> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=radicale -pkgver=0.10 -pkgrel=1.1 +_pkgname=Radicale +pkgver=1.0.1 +pkgrel=2 pkgdesc="A Simple Calendar Server" arch=any url="http://www.radicale.org/" license=('GPL3') depends=('python>=3.2') +makedepends=('python-setuptools') backup=('etc/radicale/config') install='radicale.install' source=( http://pypi.python.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz + radicale-$pkgver.patch radicale.service radicale.install ) -md5sums=('32655d8893962956ead0ad690cca6044' - '62af2e07ad32a0fcece32fae68e92daf' +md5sums=('e29e51df14bc8ca5a580998d5d592285' + '7d6a8ecdcb02f43780d106d8946338b3' + 'f3abb0343e66a4045128b93184205d3e' '5613eec93efc5ef2ef68abd124fb6b61') optdepends=( - 'python-pam: For PAM authentication' + 'python-pam: For PAM authentication' 'python-requests: For HTTP authentication' 'python-ldap: For LDAP authentication' ) +prepare() { + cd $srcdir/$_pkgname-$pkgver + + patch -p1 < $startdir/$pkgname-$pkgver.patch +} + package() { - cd "$srcdir/Radicale-$pkgver" + cd $srcdir/$_pkgname-$pkgver python setup.py install --prefix=/usr --root="$pkgdir" - install -m644 -D "$srcdir/Radicale-$pkgver/config" "$pkgdir/etc/radicale/config" + install -m644 -D "$srcdir/$_pkgname-$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" \ + install -m644 -D "$srcdir/$_pkgname-$pkgver/radicale.fcgi" \ "$pkgdir/usr/share/$pkgname/radicale.fcgi" - install -m644 -D "$srcdir/Radicale-$pkgver/radicale.wsgi" \ + install -m644 -D "$srcdir/$_pkgname-$pkgver/radicale.wsgi" \ "$pkgdir/usr/share/$pkgname/radicale.wsgi" } |