void-packages/srcpkgs/poezio/template
2019-12-24 11:28:44 +01:00

25 lines
732 B
Bash

# Template file for 'poezio'
pkgname=poezio
version=0.12.1
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=d59dedf80d074074dd4f6798559a257853fa6ab064d992d7a203f11c8b2a9bd7
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
}