31 lines
780 B
Bash
31 lines
780 B
Bash
# Template file for 'python-libtmux'
|
|
pkgname=python-libtmux
|
|
version=0.8.0
|
|
revision=1
|
|
noarch=yes
|
|
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=2b969b507c26d9db08b85be4808d75774b6418ecf5a0f61956f7a1da44519585
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-libtmux_package() {
|
|
noarch=yes
|
|
pycompile_module="libtmux"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|