# Maintainer: Eivind Uggedal pkgname=mksh pkgver=50 _pkgver=R50 pkgrel=0 pkgdesc="MirBSD KSH Shell" url="http://mirbsd.de/mksh" arch="all" license="BSD" depends="" depends_dev="" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" source="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz" _builddir="$srcdir/$pkgname" build() { cd "$_builddir" sh Build.sh -r -c lto } package() { cd "$_builddir" install -D -m 755 mksh "$pkgdir"/usr/bin/mksh install -D -m 644 mksh.1 "$pkgdir"/usr/share/man/man1/mksh.1 install -D -m 644 dot.mkshrc "$pkgdir"/usr/share/doc/mksh/dot.mkshrc } md5sums="436a448f4124d3743adb9e4a1562b77e mksh-R50.tgz" sha256sums="3538cef97df5ba964091f68119fd90822a9589b701a832ecd471c234b6179b56 mksh-R50.tgz" sha512sums="a1287278a15bf188c0df00fa55d3439996890d1fa4331f4c41b7995525b85f3e7bfdc75e51d06d3898d12b607eb618105199946633db58da2ecd62e7bf7b1fd9 mksh-R50.tgz"