termux-packages/packages/mksh/build.sh
2019-05-16 19:54:59 +03:00

19 lines
682 B
Bash

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"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=57
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R${TERMUX_PKG_VERSION/./}.tgz
TERMUX_PKG_SHA256=3d101154182d52ae54ef26e1360c95bc89c929d28859d378cc1c84f3439dbe75
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
}