contrib/khard/Pkgfile

23 lines
662 B
Plaintext
Raw Normal View History

2019-12-29 11:40:19 +01:00
# Description: Console carddav client
# URL: https://github.com/scheibler/khard/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-atomicwrites python3-configobj python3-ruamel-yaml python3-unidecode python3-vobject
name=khard
2020-08-13 23:56:32 +02:00
version=0.17.0
2019-12-29 11:40:19 +01:00
release=1
source=(https://files.pythonhosted.org/packages/source/k/khard/$name-$version.tar.gz)
build() {
cd $name-$version
2020-11-03 19:55:30 +01:00
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
2019-12-29 11:40:19 +01:00
--optimize=1 \
--prefix=/usr \
--root=$PKG
2020-11-03 19:55:30 +01:00
if [ -e /lib/zsh || /usr/lib/zsh ]; then
2019-12-29 11:40:19 +01:00
install -vDm 644 misc/zsh/_* \
-t $PKG/usr/share/zsh/site-functions/
fi
}