void-packages/srcpkgs/mksh/template

30 lines
667 B
Plaintext
Raw Normal View History

2013-04-05 17:19:37 +02:00
# Template file for 'mksh'
2013-04-05 16:47:11 +02:00
pkgname=mksh
2013-08-18 00:28:42 +02:00
version=R48b
revision=2
2013-08-16 00:55:26 +02:00
short_desc="The MirBSD Korn Shell"
2013-04-05 16:47:11 +02:00
maintainer="pancake <xtraeme@gmail.com>"
homepage="https://www.mirbsd.org/mksh.htm"
license="MirOS"
2013-08-18 00:28:42 +02:00
distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
checksum="e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792"
2013-04-05 16:47:11 +02:00
wrksrc=mksh
do_build() {
sh ./Build.sh
}
do_install() {
2013-07-25 10:31:09 +02:00
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
2013-04-05 16:47:11 +02:00
}
mksh_package() {
register_shell="/bin/mksh"
pkg_install() {
vmove usr
}
}