void-packages/srcpkgs/mksh/template

30 lines
667 B
Plaintext

# Template file for 'mksh'
pkgname=mksh
version=R48b
revision=2
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"
wrksrc=mksh
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
}
mksh_package() {
register_shell="/bin/mksh"
pkg_install() {
vmove usr
}
}