summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74d042b3301ec76c267fe541b01936845a317034 (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
27
28
29
30
31
32
# Maintainer: Tom Hacohen <tom@stosb.com>
# Contributor: David Runge <dave@sleepmap.de>

pkgname=etesync-dav
pkgver=0.1.5
pkgrel=1
pkgdesc="A CalDAV and CardDAV front-end/proxy for EteSync "
arch=('any')
url="https://pypi.python.org/pypi/${pkgname}/"
license=('LGPL')
depends=('python-appdirs'
         'python-radicale-storage-etesync'
)
makedepends=('python-setuptools')
source=("https://pypi.io/packages/source/e/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('e5ffeb4c77d1e2ff4a1576619d2931686234ebe519559c4f841b5daf769839ab72decea303fd55b48ac47c80d01022c15cce432ba11962e7116b4da155255554')

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python setup.py install --skip-build \
    --optimize=1 \
    --prefix=/usr \
    --root="${pkgdir}"
  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
    -vDm644 {DESCRIPTION.rst,README.md}
}