[arch-commits] Commit in mksh/repos (6 files)

Sébastien Luttringer seblu at nymeria.archlinux.org
Thu May 30 19:11:35 EDT 2013


    Date: Friday, May 31, 2013 @ 01:11:35
  Author: seblu
Revision: 92020

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  mksh/repos/community-staging-i686/
  mksh/repos/community-staging-i686/PKGBUILD
    (from rev 92019, mksh/trunk/PKGBUILD)
  mksh/repos/community-staging-i686/mksh.install
    (from rev 92019, mksh/trunk/mksh.install)
  mksh/repos/community-staging-x86_64/
  mksh/repos/community-staging-x86_64/PKGBUILD
    (from rev 92019, mksh/trunk/PKGBUILD)
  mksh/repos/community-staging-x86_64/mksh.install
    (from rev 92019, mksh/trunk/mksh.install)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   34 ++++++++++++++++++++++++++++++++
 community-staging-i686/mksh.install   |    9 ++++++++
 community-staging-x86_64/PKGBUILD     |   34 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/mksh.install |    9 ++++++++
 4 files changed, 86 insertions(+)

Copied: mksh/repos/community-staging-i686/PKGBUILD (from rev 92019, mksh/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-05-30 23:11:35 UTC (rev 92020)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: Daniel Hommel <dhommel at 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:

Copied: mksh/repos/community-staging-i686/mksh.install (from rev 92019, mksh/trunk/mksh.install)
===================================================================
--- community-staging-i686/mksh.install	                        (rev 0)
+++ community-staging-i686/mksh.install	2013-05-30 23:11:35 UTC (rev 92020)
@@ -0,0 +1,9 @@
+post_install() {
+  grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells
+}
+
+post_remove() {
+  sed -i "/^\/bin\/mksh$/d" /etc/shells
+}
+
+# vim:set ts=2 sw=2 et:

Copied: mksh/repos/community-staging-x86_64/PKGBUILD (from rev 92019, mksh/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-05-30 23:11:35 UTC (rev 92020)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: Daniel Hommel <dhommel at 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:

Copied: mksh/repos/community-staging-x86_64/mksh.install (from rev 92019, mksh/trunk/mksh.install)
===================================================================
--- community-staging-x86_64/mksh.install	                        (rev 0)
+++ community-staging-x86_64/mksh.install	2013-05-30 23:11:35 UTC (rev 92020)
@@ -0,0 +1,9 @@
+post_install() {
+  grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells
+}
+
+post_remove() {
+  sed -i "/^\/bin\/mksh$/d" /etc/shells
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list