# Maintainer: PktSurf app=mksh version=r56c sversion=R56c build=1sml homepage="https://www.mirbsd.org/mksh.htm" download="http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-$sversion.tgz" desc="MirBSD Korn Shell, successor to the pdksh" requires="musl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$sversion tar xf $srcdir/$app-$sversion.tgz cd "$app" fixbuilddirpermissions } build() { chmod +x Build.sh CFLAGS+=" -static" ./Build.sh install -Dm 644 mksh.1 $pkg/usr/share/man/man1/mksh.1 install -Dm 755 mksh $pkg/usr/bin/mksh head -n 26 Build.sh > $pkgdocs/LICENSE mkfinalpkg } sha512sums=" 7e4cd2d24c6bca2ebad7c6b02d158188e766bd4693d93f5bed198d69238aef078d42ce911431ad4e419e4af55083047d823bfad53973db5c6d8a685482770135 mksh-R56c.tgz "