void-packages/srcpkgs/mksh/template

28 lines
571 B
Text
Raw Normal View History

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