void-packages/srcpkgs/poezio/template
2019-01-31 20:22:46 -02:00

25 lines
730 B
Bash

# Template file for 'poezio'
pkgname=poezio
version=0.12
revision=2
build_style=python3-module
pycompile_module="poezio poezio_plugins poezio_themes"
hostmakedepends="python3-setuptools pkg-config"
makedepends="python3-devel"
depends="python3-setuptools python3-slixmpp"
short_desc="Console XMPP/Jabber client"
maintainer="Franklin Delehelle <franklin.delehelle@odena.eu>"
license="Zlib"
homepage="https://poez.io/"
distfiles="${PYPI_SITE}/p/poezio/poezio-${version}.tar.gz"
checksum=4d4aacfda98454719e017e56e7012d283de12b8f7400b51c1fe0d1dc841f231e
pre_configure() {
sed -i "s|os.environ.get('CC', 'cc')|'${CC}'|" setup.py
}
post_install() {
# keep man pages only
rm -rf ${DESTDIR}/usr/share/{doc,poezio}
vlicense COPYING
}