2013-03-13 00:33:21 +00:00
|
|
|
# $Id: PKGBUILD 85891 2013-03-08 15:20:48Z ttoepper $
|
|
|
|
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
|
|
|
|
# Contributor: Daniel Hommel <dhommel@gmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - commented test.sh - breaks in chroot
|
|
|
|
|
|
|
|
pkgname=mksh
|
2013-05-05 17:10:03 +00:00
|
|
|
pkgver=R46
|
2013-06-03 15:43:15 +00:00
|
|
|
pkgrel=3
|
2013-03-13 00:33:21 +00:00
|
|
|
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')
|
2013-05-05 17:10:03 +00:00
|
|
|
depends=('gcc-libs')
|
2013-03-13 00:33:21 +00:00
|
|
|
install=mksh.install
|
|
|
|
source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$pkgver.tgz"
|
|
|
|
'https://www.mirbsd.org/TaC-mksh.txt')
|
2013-05-05 17:10:03 +00:00
|
|
|
md5sums=('77c108d8143a6e7670954d77517d216d'
|
|
|
|
'a231b325d5f2155a6c667a9323986718')
|
2013-03-13 00:33:21 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
|
|
|
|
sh Build.sh -r -c lto
|
|
|
|
#./test.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
2013-06-03 15:43:15 +00:00
|
|
|
install -D -m 755 mksh "$pkgdir/usr/bin/mksh"
|
2013-04-30 15:22:38 +00:00
|
|
|
install -D -m 644 mksh.1 "$pkgdir/usr/share/man/man1/mksh.1"
|
2013-03-13 00:33:21 +00:00
|
|
|
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:
|