2015-10-06 12:19:13 +00:00
|
|
|
# Template file for 'khal'
|
|
|
|
pkgname=khal
|
2016-04-16 22:24:24 +00:00
|
|
|
version=0.8.1
|
2015-10-06 12:19:13 +00:00
|
|
|
revision=1
|
2016-04-16 22:24:24 +00:00
|
|
|
noarch=yes
|
2015-10-06 12:19:13 +00:00
|
|
|
build_style=python-module
|
2016-04-16 22:24:24 +00:00
|
|
|
python_versions="3.4"
|
|
|
|
pycompile_version="3.4"
|
2015-10-06 12:19:13 +00:00
|
|
|
pycompile_module="khal"
|
2016-04-16 22:24:24 +00:00
|
|
|
hostmakedepends="python3.4-setuptools"
|
|
|
|
depends="python3.4-setuptools python3.4-click python3.4-configobj
|
|
|
|
python3.4-dateutil python3.4-icalendar python3.4-pytz python3.4-tzlocal
|
|
|
|
python3.4-urwid python3.4-xdg vdirsyncer"
|
2015-10-06 12:19:13 +00:00
|
|
|
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"
|
2016-04-16 22:24:24 +00:00
|
|
|
checksum=9d352e4aa6256e493d5aea69540f642158bdcab75d2383e1e43506bf89982094
|
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
|
2016-04-16 22:24:24 +00:00
|
|
|
vsconf khal.conf.sample
|
2015-10-06 12:19:13 +00:00
|
|
|
}
|