void-packages/srcpkgs/khard/template

23 lines
788 B
Bash

# Template file for 'khard'
pkgname=khard
version=0.9.0
revision=1
noarch=yes
build_style=python-module
pycompile_module="khard"
hostmakedepends="python-setuptools"
depends="python-atomicwrites python-configobj python-vobject python-yaml"
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"
checksum=3a4c8778f314a2d1d2bb550caad7befbfbf141be92d440d682e00847a2cc0379
post_install() {
vinstall misc/khard/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/*
}