termux-packages/packages/mksh/build.sh

17 lines
592 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-04-19 01:00:15 +02:00
TERMUX_PKG_VERSION=59
TERMUX_PKG_SRCURL=https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R${TERMUX_PKG_VERSION/./}.tgz
2020-04-19 01:00:15 +02:00
TERMUX_PKG_SHA256=592a28ba67bea8a285f003d7a5d21b65e718546c8fcb375d7d696f3d5dd390ba
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
}