aterm: create symlink 'xterm' for compatibility

Since we don't provide xterm, it worth to create a compatibility
symlink.
This commit is contained in:
Leonid Pliushch 2018-10-02 21:09:19 +03:00 committed by Yaksh Bariya
parent ef95625d3c
commit 3e998b1328
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -8,6 +8,7 @@ TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/sourceforge/aterm/aterm-${TER
TERMUX_PKG_SHA256=a161c3b2d9c7149130a41963899993af21eae92e8e362f4b5b3c7c4cb16760ce
TERMUX_PKG_DEPENDS="libice, libsm, libx11, libxext"
TERMUX_PKG_BUILD_DEPENDS="libxt"
TERMUX_PKG_CONFLICTS="xterm"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
@ -17,3 +18,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-menubar
--enable-graphics
"
termux_step_post_make_install() {
ln -sfr "${TERMUX_PREFIX}/bin/aterm" "${TERMUX_PREFIX}/bin/xterm"
}