diff options
author | Tim Biermann <tbier@posteo.de> | 2019-12-29 11:40:19 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2019-12-29 11:40:19 +0100 |
commit | 0ee668b988eff04b2a2d4b5e044c598e939ad53f (patch) | |
tree | 83331fb103846f0df4b3bc336947580f8add9b30 /khard/Pkgfile | |
parent | da7d1a5366211494ab7de8cb0b2cbad86034a3b5 (diff) | |
download | contrib-0ee668b988eff04b2a2d4b5e044c598e939ad53f.tar.gz contrib-0ee668b988eff04b2a2d4b5e044c598e939ad53f.tar.xz |
khard: initial commit, version 0.15.1
Diffstat (limited to 'khard/Pkgfile')
-rw-r--r-- | khard/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/khard/Pkgfile b/khard/Pkgfile new file mode 100644 index 000000000..ca66f7efb --- /dev/null +++ b/khard/Pkgfile @@ -0,0 +1,22 @@ +# 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 +version=0.15.1 +release=1 +source=(https://files.pythonhosted.org/packages/source/k/khard/$name-$version.tar.gz) + +build() { + cd $name-$version + python3 setup.py build + python3 setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root=$PKG + if [ -e /lib/zsh ]; then + install -vDm 644 misc/zsh/_* \ + -t $PKG/usr/share/zsh/site-functions/ + fi +} |