summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e563d04c9b24fd1b3e2ea68ab2106f5031dab25d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Arvedui <arvedui@posteo.de>
pkgname=radicale-infcloud-git
pkgver=r20.972757b
pkgrel=2
pkgdesc="Infcloud integration for radicale"
arch=("any")
url="https://github.com/Unrud/RadicaleInfCloud"
license=('AGPL')
groups=()
depends=('python' 'radicale')
makedepends=('git')
options=(!emptydirs)
source=("git+https://github.com/Unrud/RadicaleInfCloud")
md5sums=("SKIP")

pkgver() {
    cd ${srcdir}/RadicaleInfCloud
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/RadicaleInfCloud"
  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: