8086tiny: clear screen before running + specify package dependencies

This commit is contained in:
Leonid Pliushch 2020-01-24 21:25:19 +02:00
parent ffb396b647
commit 806039ed41
2 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,7 @@ if [ -z "$FD_IMAGE" ]; then
FD_IMAGE="@TERMUX_PREFIX@/share/8086tiny/dos.img"
fi
clear
trap cleanup INT TERM
stty cbreak raw -echo min 0

View File

@ -2,9 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://github.com/adriancable/8086tiny
TERMUX_PKG_DESCRIPTION="A PC XT-compatible emulator/virtual machine"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=1.25
TERMUX_PKG_REVISION=1
# Version tag is unavailable.
TERMUX_PKG_SRCURL=https://github.com/adriancable/8086tiny/archive/c79ca2a34d96931d55ef724c815b289d0767ae3a.tar.gz
TERMUX_PKG_SHA256=ede246503a745274430fdee77ba639bc133a2beea9f161bff3f7132a03544bf6
TERMUX_PKG_DEPENDS="bash, coreutils, ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {