2015-10-06 12:19:13 +00:00
|
|
|
# Template file for 'khal'
|
|
|
|
pkgname=khal
|
2015-11-26 21:54:43 +00:00
|
|
|
version=0.7.0
|
2015-10-06 12:19:13 +00:00
|
|
|
revision=1
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7"
|
|
|
|
pycompile_module="khal"
|
|
|
|
hostmakedepends="python-setuptools"
|
|
|
|
depends="python-click python-configobj python-dateutil python-icalendar python-pytz python-setproctitle python-sqlite python-tzlocal python-urwid python-xdg vdirsyncer"
|
|
|
|
short_desc="Command-line calendar build around CalDAV"
|
|
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://lostpackets.de/khal/"
|
|
|
|
distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz"
|
2015-11-26 21:54:43 +00:00
|
|
|
checksum=c6b0c81df56133e4592f02d8e9b60702079da2affd1b09ba96358ccd8eec9402
|
2015-10-06 12:19:13 +00:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -e '/setuptools_scm/d' \
|
|
|
|
-e '/pkginfo/d' \
|
|
|
|
-e "s/use_scm_version=True,/version=\"${version}\",/" \
|
|
|
|
-i setup.py
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
vinstall misc/__khal 644 usr/share/zsh/site-functions
|
|
|
|
}
|