blob: 4e617d609629627d96fc94ef0da8bbdab11fcb41 (
plain)
1 # Description: CLI calendar application build around CalDAV
2 # URL: https://lostpackets.de/khal/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-atomicwrites python3-click-log python3-configobj python3-icalendar python3-pytz-deprecation-shim python3-pyxdg python3-tzlocal python3-urwid
5
6 name=khal
7 version=0.10.4
8 release=2
9 source=(https://files.pythonhosted.org/packages/source/k/$name/$name-$version.tar.gz)
10
11 build() {
12 cd $name-$version
13 /usr/bin/python3 setup.py build
14 /usr/bin/python3 setup.py install \
15 --prefix=/usr \
16 --optimize=1 \
17 --skip-build \
18 --root=$PKG
19 if [ -e /lib/zsh || -e /usr/lib/zsh ]; then
20 install -Dm644 misc/__khal $PKG/usr/share/zsh/site-functions/_khal
21 fi
22 }
|