termux-packages/packages/mksh/build.sh

18 lines
614 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://www.mirbsd.org/mksh.htm
TERMUX_PKG_DESCRIPTION="The MirBSD Korn Shell - an enhanced version of the public domain ksh"
TERMUX_PKG_LICENSE="Public Domain"
2020-06-06 19:48:47 +02:00
TERMUX_PKG_VERSION=59b
2020-06-06 21:49:56 +02:00
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R${TERMUX_PKG_VERSION/./}.tgz
2020-06-06 19:48:47 +02:00
TERMUX_PKG_SHA256=907ed1a9586e7f18bdefdd4a763aaa8397b755e15034aa54f4d753bfb272e0e6
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
sh Build.sh -r
}
termux_step_make_install() {
install -Dm700 mksh "$TERMUX_PREFIX"/bin/mksh
install -Dm600 mksh.1 "$TERMUX_PREFIX"/share/man/man1/mksh.1
}