2019-07-09 19:01:18 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://st.suckless.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="A simple virtual terminal emulator for X"
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
|
|
TERMUX_PKG_MAINTAINER="Tristan Ross <spaceboyross@yandex.com>"
|
2020-11-23 14:57:57 +01:00
|
|
|
TERMUX_PKG_VERSION=0.8.4
|
2022-04-25 01:19:29 +02:00
|
|
|
TERMUX_PKG_REVISION=6
|
2019-07-09 19:01:18 +02:00
|
|
|
TERMUX_PKG_SRCURL="http://dl.suckless.org/st/st-$TERMUX_PKG_VERSION.tar.gz"
|
2020-11-23 14:57:57 +01:00
|
|
|
TERMUX_PKG_SHA256=d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6
|
2020-11-23 16:44:03 +01:00
|
|
|
# FIXME: config.h specified a Liberation Mono font which is not available in Termux.
|
|
|
|
# Needs a patch for ttf-dejavu font package or liberation font package should be added.
|
2019-07-09 19:01:18 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libxft, libxext"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="TERMINFO=$TERMUX_PREFIX/share/terminfo"
|
2019-07-21 01:46:46 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/terminfo"
|
2019-07-09 19:01:18 +02:00
|
|
|
|
|
|
|
termux_step_configure() {
|
2022-04-25 01:19:29 +02:00
|
|
|
sed "s:@TERMUX_PREFIX@:${TERMUX_PREFIX}:g" \
|
|
|
|
"$TERMUX_PKG_BUILDER_DIR/config.h" > config.h
|
2019-07-09 19:01:18 +02:00
|
|
|
}
|