void-packages/srcpkgs/mksh/template

27 lines
571 B
Text

# Template file for 'mksh'
pkgname=mksh
version=R44
revision=3
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=016f2196f75211308f5bf184ead97cf0718039717ad3f499994188bc941f8775
wrksrc=mksh
do_build() {
sh ./Build.sh
}
do_install() {
vinstall ${wrksrc}/mksh 755 usr/bin
vinstall ${wrksrc}/mksh.1 644 usr/share/man/man1
}
mksh_package() {
register_shell="/bin/mksh"
pkg_install() {
vmove usr
}
}