community/mksh to R45-1

This commit is contained in:
Kevin Mihelich 2013-04-30 15:22:38 +00:00
parent df43d194d0
commit b3d2d75cd3

View file

@ -6,7 +6,7 @@
# - commented test.sh - breaks in chroot
pkgname=mksh
pkgver=R44
pkgver=R45
pkgrel=1
pkgdesc='The MirBSD Korn Shell - an enhanced version of the public domain ksh'
url='https://www.mirbsd.org/mksh.htm'
@ -16,21 +16,20 @@ install=mksh.install
source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$pkgver.tgz"
'https://www.mirbsd.org/TaC-mksh.txt')
depends=('gcc-libs')
md5sums=('fe011686319a8c50d5e237fd5e195fd8'
'bd05936e20d699df5d47e4ad6223c9d4')
md5sums=('d3d90973119ae689d5300b690600e1dc'
'900968b95cd0231053c641428597bacd')
build() {
cd "$srcdir/$pkgname"
sh Build.sh -r -c lto
#./test.sh
gzip -n9 mksh.1
}
package() {
cd "$srcdir/$pkgname"
install -D -m 755 mksh "$pkgdir/bin/mksh"
install -D -m 644 mksh.1.gz "$pkgdir/usr/share/man/man1/mksh.1.gz"
install -D -m 644 mksh.1 "$pkgdir/usr/share/man/man1/mksh.1"
install -D -m 644 dot.mkshrc "$pkgdir/etc/skel/.mkshrc"
install -D -m 644 "$srcdir/TaC-mksh.txt" "$pkgdir/usr/share/licenses/mksh/TaC-mksh.txt"
}