[arch-commits] Commit in mksh/repos/community-x86_64 (4 files)
Eli Schwartz
eschwartz at archlinux.org
Thu May 17 16:03:17 UTC 2018
Date: Thursday, May 17, 2018 @ 16:03:16
Author: eschwartz
Revision: 323854
archrelease: copy trunk to community-x86_64
Added:
mksh/repos/community-x86_64/PKGBUILD
(from rev 323853, mksh/trunk/PKGBUILD)
mksh/repos/community-x86_64/mksh.install
(from rev 323853, mksh/trunk/mksh.install)
Deleted:
mksh/repos/community-x86_64/PKGBUILD
mksh/repos/community-x86_64/mksh.install
--------------+
PKGBUILD | 76 ++++++++++++++++++++++++++++-----------------------------
mksh.install | 23 ++++++++++-------
2 files changed, 52 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-17 16:03:01 UTC (rev 323853)
+++ PKGBUILD 2018-05-17 16:03:16 UTC (rev 323854)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
-# Contributor: Daniel Hommel <dhommel at gmail.com>
-
-pkgname=mksh
-_pkgver=R56c
-pkgver=56.c
-pkgrel=2
-pkgdesc='The MirBSD Korn Shell - an enhanced version of the public domain ksh'
-url='https://www.mirbsd.org/mksh.htm'
-license=('custom')
-arch=('x86_64')
-depends=('glibc') # Make namcap happy.
-install=mksh.install
-source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz"
- 'https://www.mirbsd.org/TaC-mksh.txt')
-md5sums=('4799a9ac6d55871d79ba66713d928663'
- '0d39e63f8104667ef294165bd844c35c')
-
-check() {
- cd "$srcdir/$pkgname"
- ./test.sh
-}
-
-build() {
- cd "$srcdir/$pkgname"
- sh Build.sh -r
-}
-
-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-x86_64/PKGBUILD (from rev 323853, mksh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-17 16:03:16 UTC (rev 323854)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: Daniel Hommel <dhommel at gmail.com>
+
+pkgname=mksh
+_pkgver=R56c
+pkgver=56.c
+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=('x86_64')
+depends=('glibc') # Make namcap happy.
+install=mksh.install
+source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz"
+ 'https://www.mirbsd.org/TaC-mksh.txt')
+md5sums=('4799a9ac6d55871d79ba66713d928663'
+ '0d39e63f8104667ef294165bd844c35c')
+
+check() {
+ cd "$srcdir/$pkgname"
+ ./test.sh
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ sh Build.sh -r
+}
+
+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:
Deleted: mksh.install
===================================================================
--- mksh.install 2018-05-17 16:03:01 UTC (rev 323853)
+++ mksh.install 2018-05-17 16:03:16 UTC (rev 323854)
@@ -1,9 +0,0 @@
-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-x86_64/mksh.install (from rev 323853, mksh/trunk/mksh.install)
===================================================================
--- mksh.install (rev 0)
+++ mksh.install 2018-05-17 16:03:16 UTC (rev 323854)
@@ -0,0 +1,14 @@
+post_install() {
+ grep -qx /bin/mksh /etc/shells || echo /bin/mksh >>/etc/shells
+ grep -qx /usr/bin/mksh /etc/shells || echo /usr/bin/mksh >>/etc/shells
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ sed -i -r '/^(\/usr)?\/bin\/mksh$/d' etc/shells
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list