void-packages/srcpkgs/mksh/template

23 lines
614 B
Text

# Template file for 'mksh'
pkgname=mksh
version=R48b
revision=2
wrksrc=mksh
register_shell="/bin/mksh"
short_desc="The MirBSD Korn Shell"
maintainer="pancake <xtraeme@gmail.com>"
homepage="https://www.mirbsd.org/mksh.htm"
license="MirOS"
distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
checksum="e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792"
do_build() {
sh ./Build.sh
}
do_install() {
vinstall mksh 755 usr/bin
vinstall mksh.1 644 usr/share/man/man1
vinstall lksh.1 644 usr/share/man/man1
vinstall ${FILESDIR}/TaC-mksh.txt 644 usr/share/licenses/$pkgname
}