26 lines
763 B
Bash
26 lines
763 B
Bash
# Template file for 'khard'
|
|
pkgname=khard
|
|
reverts=0.11.3_1
|
|
version=0.11.3
|
|
revision=2
|
|
noarch=yes
|
|
build_style=python3-module
|
|
pycompile_module="khard"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-atomicwrites python3-configobj
|
|
python3-vobject python3-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=d6133f5622694dfdb73348604afaa78d20ba7a72178075e76afd045e309cc6ec
|
|
|
|
pre_build() {
|
|
sed -i "s/'vobject==.*'/'vobject'/" setup.py
|
|
}
|
|
post_install() {
|
|
vsconf misc/khard/khard.conf.example
|
|
vinstall misc/zsh/_khard 644 usr/share/zsh/site-functions
|
|
}
|