summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b5e54177080e4775c8d3f190f5595398323a854 (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-imap-git
pkgver=r1.04c9baf
pkgrel=2
pkgdesc="IMAP auth for radicale"
arch=("any")
url="https://github.com/Unrud/RadicaleIMAP"
license=('GPL')
groups=()
depends=('python' 'radicale')
makedepends=('git')
options=(!emptydirs)
source=("git+https://github.com/Unrud/RadicaleIMAP")
md5sums=("SKIP")

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

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

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