void-packages/srcpkgs/mksh/template

28 lines
551 B
Plaintext

# Template file for 'mksh'
pkgname=mksh
version=R47
revision=1
short_desc="The Mir Korn SHell"
maintainer="pancake <xtraeme@gmail.com>"
homepage="https://www.mirbsd.org/mksh.htm"
license="BSD"
distfiles="http://pub.allbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
checksum=b7159f09c551d97357b5b8a76829bfd6c668cc93f15faa92d510ad6dc0dab939
wrksrc=mksh
do_build() {
sh ./Build.sh
}
do_install() {
vinstall mksh 755 usr/bin
vinstall mksh.1 644 usr/share/man/man1
}
mksh_package() {
register_shell="/bin/mksh"
pkg_install() {
vmove usr
}
}