diff --git a/srcpkgs/khard/template b/srcpkgs/khard/template new file mode 100644 index 0000000000..86615a75e8 --- /dev/null +++ b/srcpkgs/khard/template @@ -0,0 +1,22 @@ +# Template file for 'khard' +pkgname=khard +version=0.6.2 +revision=1 +noarch=yes +build_style=python-module +pycompile_module="khard" +hostmakedepends="python-setuptools" +depends="python-configobj python-vobject" +short_desc="Command-line addressbook built around CardDAV" +maintainer="Oliver Kiddle " +license="GPL-3" +homepage="https://github.com/scheibler/khard" +distfiles="${PYPI_SITE}/k/khard/khard-${version}.tar.gz" +checksum=19aa7266b226865a24fd268bcf8282b2fd5adefd279da408bee199e61d658a28 + +post_install() { + vinstall misc/khard.conf.example 644 usr/share/examples/khard + vinstall misc/zsh/_khard 644 usr/share/zsh/site-functions + rm ${DESTDIR}/usr/bin/davcontroller + rm ${DESTDIR}/usr/lib/python2.7/site-packages/davcontroller/* +}