termux-packages/packages/termux-gui-package/build.sh

19 lines
717 B
Bash
Raw Normal View History

2022-01-14 16:54:46 +01:00
TERMUX_PKG_HOMEPAGE="https://github.com/tareksander/termux-gui-package"
TERMUX_PKG_DESCRIPTION="A Termux package containing utilities for Termux:GUI"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@tareksander"
TERMUX_PKG_VERSION="0.1.5"
TERMUX_PKG_DEPENDS="python"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_SRCURL="https://github.com/tareksander/termux-gui-package/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256="5cd104ed3cc73962eb915ac7cc07330932398139f1bc101562fd0163bcb00471"
termux_step_create_debscripts() {
cat <<- EOF > ./postinst
#!${TERMUX_PREFIX}/bin/sh
echo "Installing python bindings for Termux:GUI"
pip install --upgrade termuxgui
EOF
}