# $Id: PKGBUILD 80731 2012-12-01 17:21:44Z ttoepper $ # Maintainer: Thorsten Töpper # Contributor: Daniel Hommel pkgname=mksh pkgver=R41 pkgrel=1 pkgdesc='The MirBSD Korn Shell - an enhanced version of the public domain ksh' url='https://www.mirbsd.org/mksh.htm' license=('custom') arch=('i686' 'x86_64') 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=('70eca50d9340412714ef09b7060ebde9' '124164b14263f5ee09d2135fffce7282') 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 dot.mkshrc "$pkgdir/etc/skel/.mkshrc" install -D -m 644 "$srcdir/TaC-mksh.txt" "$pkgdir/usr/share/licenses/mksh/TaC-mksh.txt" } # vim:set ts=2 sw=2 et: