void-packages/srcpkgs/mksh/template

24 lines
644 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
2014-01-14 11:05:55 +01:00
version=R49
2014-04-27 12:28:51 +02:00
revision=3
wrksrc=mksh
register_shell="/bin/mksh"
2013-08-16 00:55:26 +02:00
short_desc="The MirBSD Korn Shell"
2014-04-27 12:28:51 +02:00
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
2013-04-05 16:47:11 +02:00
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"
2014-01-14 11:05:55 +01:00
checksum="4dd6c37fe2b8603be3d59744d7866d72913fca49d8a68d3254d064b12eb3da49"
2013-04-05 16:47:11 +02:00
do_build() {
2014-01-04 13:23:38 +01:00
sh ./Build.sh -r -c lto
2013-04-05 16:47:11 +02:00
}
do_install() {
2013-07-25 10:31:09 +02:00
vinstall mksh 755 usr/bin
vinstall mksh.1 644 usr/share/man/man1
2014-01-04 13:23:38 +01:00
vinstall dot.mkshrc 644 usr/share/doc/$pkgname/examples
vinstall ${FILESDIR}/TaC-mksh.txt 644 usr/share/licenses/$pkgname
2013-04-05 16:47:11 +02:00
}