void-packages/srcpkgs/mksh/template
2014-01-04 13:23:38 +01:00

23 lines
641 B
Text

# Template file for 'mksh'
pkgname=mksh
version=R48b
revision=3
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 -r -c lto
}
do_install() {
vinstall mksh 755 usr/bin
vinstall mksh.1 644 usr/share/man/man1
vinstall dot.mkshrc 644 usr/share/doc/$pkgname/examples
vinstall ${FILESDIR}/TaC-mksh.txt 644 usr/share/licenses/$pkgname
}