New package: khal-0.6.0

This commit is contained in:
Oliver Kiddle 2015-10-06 14:19:13 +02:00
parent 9e2e831819
commit a5c3d89f65
1 changed files with 27 additions and 0 deletions

27
srcpkgs/khal/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'khal'
pkgname=khal
version=0.6.0
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"
checksum=1a2e8d56d20b12ed2c3ef2468ff0ce0c658a8a566b249821b0f4b30cce8ada9a
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
}