Files
termux-packages/x11-packages/python-xapp/build.sh
termux-pacman-bot deedfb9da9 enhance(tree-wide): drop trivial termux_pkg_auto_update() functions
- These can now be handled by `termux_pkg_upgrade_version` itself
- Also fix up the `TERMUX_PKG_UPDATE_TAG_TYPE` for a few packages

%ci:no-build
2025-12-21 06:46:28 +00:00

22 lines
871 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/linuxmint/python3-xapp
TERMUX_PKG_DESCRIPTION="XApp library Python bindings"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.0.1"
TERMUX_PKG_SRCURL=https://github.com/linuxmint/python3-xapp/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9083f64b80040aca6c20ede688f5f1e86ce90dbd808846400c5612fffde8a6ce
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+$"
TERMUX_PKG_DEPENDS="python, xapp"
TERMUX_PKG_BREAKS="python3-xapp"
TERMUX_PKG_REPLACES="python3-xapp"
TERMUX_PKG_CONFLICTS="python3-xapp"
termux_step_configure() {
termux_setup_meson
export PYTHON_SITELIB="$TERMUX_PYTHON_HOME/site-packages"
$TERMUX_MESON setup "$TERMUX_PKG_BUILDDIR" "$TERMUX_PKG_SRCDIR" \
-Dlocaledir="$TERMUX_PREFIX"/share/locale \
-Dpython.purelibdir="$PYTHON_SITELIB"
}