void-packages/srcpkgs/khal/template
maxice8 41f7942101 khal: update to 0.9.9.
Closes #14733.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-28 09:53:55 +02:00

29 lines
843 B
Bash

# Template file for 'khal'
pkgname=khal
version=0.9.9
revision=1
noarch=yes
build_style=python3-module
pycompile_module="khal"
hostmakedepends="python3-setuptools"
depends="python3-atomicwrites python3-click python3-configobj python3-icalendar
python3-setuptools python3-tzlocal python3-urwid python3-xdg"
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=50e7c40028c37d4ec76a3ef80e99af5f837ad6857590e76cc64ee29b16560937
pre_build() {
sed -i setup.py \
-e '/setup_requires/d' \
-e '/use_scm_version/d' \
-e "/name=/ a\
version='${version}',"
}
post_install() {
vlicense COPYING
vinstall misc/__khal 644 usr/share/zsh/site-functions
vsconf khal.conf.sample
}