void-packages/srcpkgs/khal/template
2019-12-24 12:24:35 +01:00

28 lines
868 B
Bash

# Template file for 'khal'
pkgname=khal
version=0.10.1
revision=2
archs=noarch
build_style=python3-module
pycompile_module="khal"
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-click python3-click-log python3-configobj
python3-dateutil python3-icalendar python3-pytz python3-tzlocal
python3-urwid python3-xdg python3-atomicwrites"
short_desc="Command-line calendar build around CalDAV"
maintainer="Anachron <gith@cron.world>"
license="MIT"
homepage="http://lostpackets.de/khal/"
distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz"
checksum=d450f9da70ddead28d794eed81c2d2a074655980a16cbd9f47f1c0c9e59b0be5
pre_build() {
sed -i setup.py \
-e '/setup_requires=/d' \
-e "s|use_scm_version=.*|version='${version}',|"
}
post_install() {
vlicense COPYING
vinstall misc/__khal 644 usr/share/zsh/site-functions
vsconf khal.conf.sample
}