33 lines
929 B
Bash
33 lines
929 B
Bash
# Template file for 'khal'
|
|
pkgname=khal
|
|
version=0.8.3
|
|
revision=1
|
|
noarch=yes
|
|
build_style=python-module
|
|
python_versions="3.4"
|
|
pycompile_version="3.4"
|
|
pycompile_module="khal"
|
|
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"
|
|
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=1ec6940a9fbd207c41428b103bac1d1555129b9b4eca2b843c544bd48ac63ee3
|
|
|
|
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
|
|
}
|