void-packages/srcpkgs/khard/template

24 lines
837 B
Bash

# Template file for 'khard'
pkgname=khard
version=0.15.1
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.0-only"
homepage="https://github.com/scheibler/khard"
distfiles="${PYPI_SITE}/k/khard/khard-${version}.tar.gz"
checksum=5ca8e678133e08fa4861cc31aedf9f30b4f8e3958ed66ede025c23ec5e176aa1
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
}