void-packages/srcpkgs/khard/template

24 lines
847 B
Bash

# Template file for 'khard'
pkgname=khard
version=0.14.0
revision=1
archs=noarch
build_style=python3-module
pycompile_module="khard"
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-atomicwrites python3-configobj
python3-vobject python3-Unidecode python3-ruamel.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="https://github.com/scheibler/khard/archive/v${version}.tar.gz"
checksum=5879277f80a3c90ae81df0aaeeee1252225bbd9dd7fd0e98f3c3982f8f613754
post_install() {
vsconf misc/khard/khard.conf.example
vsconf misc/khard/template_for_contact_creation.yaml
vinstall misc/zsh/_khard 644 usr/share/zsh/site-functions
vinstall misc/zsh/_email-khard 644 usr/share/zsh/site-functions
}