termux-packages/x11-packages/st/build.sh

19 lines
836 B
Bash
Raw Normal View History

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
2020-12-08 13:53:24 +01:00
TERMUX_PKG_REVISION=1
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"
TERMUX_PKG_RM_AFTER_INSTALL="share/terminfo"
2019-07-09 19:01:18 +02:00
termux_step_configure() {
cp "$TERMUX_PKG_BUILDER_DIR/config.h" "config.h"
}