diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/mksh/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/mksh/PKGBUILD')
-rw-r--r-- | community/mksh/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/mksh/PKGBUILD b/community/mksh/PKGBUILD new file mode 100644 index 000000000..337e08c62 --- /dev/null +++ b/community/mksh/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 92251 2013-06-03 11:15:23Z allan $ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: Daniel Hommel <dhommel@gmail.com> + +pkgname=mksh +pkgver=R46 +pkgrel=3 +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') +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=('77c108d8143a6e7670954d77517d216d' + 'a231b325d5f2155a6c667a9323986718') + +build() { + cd "$srcdir/$pkgname" + + sh Build.sh -r -c lto + ./test.sh +} + +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: |