void-packages/srcpkgs/khard/template

23 lines
788 B
Bash
Raw Normal View History

2015-10-11 12:04:09 +02:00
# Template file for 'khard'
pkgname=khard
2016-01-19 15:33:09 +01:00
version=0.8.1
2015-10-11 12:04:09 +02:00
revision=1
noarch=yes
build_style=python-module
pycompile_module="khard"
hostmakedepends="python-setuptools"
2016-01-19 15:33:09 +01:00
depends="python-atomicwrites python-configobj python-vobject python-yaml"
2015-10-11 12:04:09 +02:00
short_desc="Command-line addressbook built around CardDAV"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="GPL-3"
homepage="https://github.com/scheibler/khard"
distfiles="${PYPI_SITE}/k/khard/khard-${version}.tar.gz"
2016-01-19 15:33:09 +01:00
checksum=00324a0faf87d8ca80be0a24e7d84a5faf763af3146565ac6b57db8a49d20f25
2015-10-11 12:04:09 +02:00
post_install() {
2016-01-19 15:33:09 +01:00
vinstall misc/khard/khard.conf.example 644 usr/share/examples/khard
2015-10-11 12:04:09 +02:00
vinstall misc/zsh/_khard 644 usr/share/zsh/site-functions
rm ${DESTDIR}/usr/bin/davcontroller
rm ${DESTDIR}/usr/lib/python2.7/site-packages/davcontroller/*
}