void-packages/srcpkgs/poezio/template

25 lines
677 B
Bash

# Template file for 'poezio'
pkgname=poezio
version=0.13.1
revision=2
build_style=python3-module
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=54befa84633c5158112fa5673490ccaf30af3e52a61daf433c867df47bca2271
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
}