void-packages/srcpkgs/python-libtmux/template
2019-03-01 12:04:45 -03:00

31 lines
784 B
Bash

# Template file for 'python-libtmux'
pkgname=python-libtmux
version=0.8.1
revision=1
archs=noarch
wrksrc="libtmux-${version}"
build_style=python-module
pycompile_module="libtmux"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python binding for tmux"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="MIT"
homepage="https://github.com/tmux-python/libtmux"
distfiles="${PYPI_SITE}/l/libtmux/libtmux-${version}.tar.gz"
checksum=5d4963cc4af53046cabd0997152af05a0a419e4c63af6737389b50f637c3852a
post_install() {
vlicense LICENSE
}
python3-libtmux_package() {
archs=noarch
pycompile_module="libtmux"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}