1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
4 pkgname=python-${_pyname}
7 pkgdesc='Python library for interacting with taskwarrior databases'
8 url='http://tasklib.readthedocs.org/en/latest/'
12 makedepends=('python-setuptools' 'python-sphinx')
13 source=("https://github.com/GothenburgBitFactory/tasklib/archive/$pkgver.tar.gz")
14 sha512sums=('b52a94e487eb90776a5edec63bfef9a4eaa5a87065be3a5386bd0d8b277b88fb35663ea5789e573a088e54fb9aa835c27d787fced4ed5198badff995dcc2e7e0')
15 b2sums=('7ca8fa519ccfb8f1fdfe06536f825f488766abcfd2e7c8c722b1dad8ecf51ea8846c93baac7207b607e50bb8285f9a0b88ba9116ca2285a1e012a053600ff8f5')
18 cd ${_pyname}-${pkgver}
25 cd ${_pyname}-${pkgver}
26 python setup.py install --root="${pkgdir}" -O1 --skip-build
27 install -Dm 644 docs/_build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
28 install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
29 install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
30 install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"