void-packages/srcpkgs/mksh/template

23 lines
555 B
Text

# Template file for 'mksh'
pkgname=mksh
version=R50b
revision=2
wrksrc=mksh
register_shell="/bin/mksh"
short_desc="The MirBSD Korn Shell"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
homepage="https://www.mirbsd.org/mksh.htm"
license="MirOS"
distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
checksum="51ff2f8b6450f50823f42b8f2431a0f17c40c9f2b0f83e15aa0d05a09627cd49"
do_build() {
sh ./Build.sh -r -c lto
}
do_install() {
vbin mksh
vman mksh.1
vinstall dot.mkshrc 644 etc/skel .mkshrc
vlicense ${FILESDIR}/TaC-mksh.txt
}