termux-packages/x11-packages/python2-xlib/build.sh

22 lines
829 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/python-xlib/python-xlib
TERMUX_PKG_DESCRIPTION="A fully functional X client library for Python programs"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2019-06-03 23:33:09 +02:00
TERMUX_PKG_VERSION=0.24
TERMUX_PKG_REVISION=21
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://github.com/python-xlib/python-xlib/releases/download/${TERMUX_PKG_VERSION}/python-xlib-${TERMUX_PKG_VERSION}.tar.bz2
2019-06-03 23:33:09 +02:00
TERMUX_PKG_SHA256=7ecf32b18b59be2c06848410bae848792ead119ac31084f487730581b3ab598c
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DEPENDS="libx11, python2, python2-six"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
2018-09-10 00:42:26 +02:00
termux_step_make() {
return
2018-09-10 00:42:26 +02:00
}
termux_step_make_install() {
## python2 setuptools needed
export PYTHONPATH=${TERMUX_PREFIX}/lib/python2.7/site-packages/
python2.7 setup.py install --root="/" --prefix="${TERMUX_PREFIX}" --force
2018-09-10 00:42:26 +02:00
}