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

31 lines
1021 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/aterm/
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DESCRIPTION="An xterm replacement with transparency support"
TERMUX_PKG_LICENSE="GPL-2.0"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2018-09-10 00:42:26 +02:00
TERMUX_PKG_VERSION=1.0.1
TERMUX_PKG_REVISION=32
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/aterm/aterm-${TERMUX_PKG_VERSION}.tar.bz2
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SHA256=a161c3b2d9c7149130a41963899993af21eae92e8e362f4b5b3c7c4cb16760ce
TERMUX_PKG_DEPENDS="libice, libsm, libx11, libxext, xorg-fonts-75dpi | xorg-fonts-100dpi"
TERMUX_PKG_CONFLICTS="xterm"
TERMUX_PKG_REPLACES="xterm"
TERMUX_PKG_PROVIDES="xterm"
2018-10-02 19:49:49 +02:00
TERMUX_PKG_BUILD_DEPENDS="libxt"
TERMUX_PKG_BUILD_IN_SRC=true
2018-10-02 17:40:26 +02:00
2018-09-10 00:42:26 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-transparency=yes
--enable-background-image
--enable-fading
--enable-menubar
--enable-graphics
"
termux_step_post_make_install() {
cat <<- EOF > $TERMUX_PREFIX/bin/xterm
#!${TERMUX_PREFIX}/bin/sh
exec ${TERMUX_PREFIX}/bin/aterm +tr "\${@}"
EOF
chmod 700 $TERMUX_PREFIX/bin/xterm
}