void-packages/srcpkgs/mksh/template

24 lines
644 B
Plaintext

# Template file for 'mksh'
pkgname=mksh
version=R49
revision=3
wrksrc=mksh
register_shell="/bin/mksh"
short_desc="The MirBSD Korn Shell"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
homepage="https://www.mirbsd.org/mksh.htm"
license="MirOS"
distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
checksum="4dd6c37fe2b8603be3d59744d7866d72913fca49d8a68d3254d064b12eb3da49"
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
}