2013-04-05 15:19:37 +00:00
|
|
|
# Template file for 'mksh'
|
2013-04-05 14:47:11 +00:00
|
|
|
pkgname=mksh
|
2013-08-17 22:28:42 +00:00
|
|
|
version=R48b
|
2014-01-04 12:23:38 +00:00
|
|
|
revision=3
|
2014-01-01 15:10:11 +00:00
|
|
|
wrksrc=mksh
|
|
|
|
register_shell="/bin/mksh"
|
2013-08-15 22:55:26 +00:00
|
|
|
short_desc="The MirBSD Korn Shell"
|
2013-04-05 14:47:11 +00:00
|
|
|
maintainer="pancake <xtraeme@gmail.com>"
|
|
|
|
homepage="https://www.mirbsd.org/mksh.htm"
|
2013-08-22 16:55:10 +00:00
|
|
|
license="MirOS"
|
2013-08-17 22:28:42 +00:00
|
|
|
distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
|
2013-08-22 16:55:10 +00:00
|
|
|
checksum="e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792"
|
2013-04-05 14:47:11 +00:00
|
|
|
|
|
|
|
do_build() {
|
2014-01-04 12:23:38 +00:00
|
|
|
sh ./Build.sh -r -c lto
|
2013-04-05 14:47:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-07-25 08:31:09 +00:00
|
|
|
vinstall mksh 755 usr/bin
|
|
|
|
vinstall mksh.1 644 usr/share/man/man1
|
2014-01-04 12:23:38 +00:00
|
|
|
vinstall dot.mkshrc 644 usr/share/doc/$pkgname/examples
|
2013-08-22 16:55:10 +00:00
|
|
|
vinstall ${FILESDIR}/TaC-mksh.txt 644 usr/share/licenses/$pkgname
|
2013-04-05 14:47:11 +00:00
|
|
|
}
|