termux-packages/packages/xcb-proto/build.sh

18 lines
760 B
Bash
Raw Normal View History

2020-02-24 19:22:20 +01:00
# X11 package
2019-11-17 16:41:03 +01:00
TERMUX_PKG_HOMEPAGE=https://xcb.freedesktop.org/
TERMUX_PKG_DESCRIPTION="XML-XCB protocol descriptions"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-02-24 19:24:35 +01:00
TERMUX_PKG_VERSION=1.14
TERMUX_PKG_REVISION=4
2020-02-24 19:24:35 +01:00
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=186a3ceb26f9b4a015f5a44dcc814c93033a5fc39684f36f1ecc79834416a605
2019-11-17 16:41:03 +01:00
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_CONFLICTS="xcbproto"
TERMUX_PKG_REPLACES="xcbproto"
termux_step_pre_configure() {
python_version=$(. $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
TERMUX_PKG_RM_AFTER_INSTALL="lib/python${python_version}/site-packages/xcbgen/__pycache__"
}