a0769ec28f
Switch to python3-module. Switch to python3-* pkgs.
30 lines
864 B
Bash
30 lines
864 B
Bash
# Template file for 'khal'
|
|
pkgname=khal
|
|
version=0.8.4
|
|
revision=2
|
|
noarch=yes
|
|
build_style=python3-module
|
|
pycompile_module="khal"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-click python3-configobj
|
|
python3-dateutil python3-icalendar python3-pytz python3-tzlocal
|
|
python3-urwid python3-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=2e5c41eadf83c8f175dc05816571e747da921b025e4acc6b287c109b6e237e0f
|
|
|
|
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
|
|
}
|