# $Id: PKGBUILD 95881 2013-08-18 08:58:15Z ttoepper $ # Maintainer: Thorsten Töpper # Contributor: Daniel Hommel pkgname=mksh _pkgver=R48b pkgver=48.1 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' 'mips64el') depends=('gcc-libs') install=mksh.install source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz" 'https://www.mirbsd.org/TaC-mksh.txt') md5sums=('ab9baa6b5a4de9d0e6a3ce9957c18da0' '0601617f19e1c0423cbdb8599e16eec3') check() { cd "$srcdir/$pkgname" ./test.sh } build() { cd "$srcdir/$pkgname" sh Build.sh -r -c lto } package() { cd "$srcdir/$pkgname" 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/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: