summaryrefslogtreecommitdiff
path: root/community/mksh
diff options
context:
space:
mode:
Diffstat (limited to 'community/mksh')
-rw-r--r--community/mksh/PKGBUILD6
-rw-r--r--community/mksh/mksh.install4
2 files changed, 3 insertions, 7 deletions
diff --git a/community/mksh/PKGBUILD b/community/mksh/PKGBUILD
index 7ff1623f2..7006cd73e 100644
--- a/community/mksh/PKGBUILD
+++ b/community/mksh/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 89988 2013-05-06 18:29:21Z ttoepper $
+# $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=2
+pkgrel=3
pkgdesc='The MirBSD Korn Shell - an enhanced version of the public domain ksh'
url='https://www.mirbsd.org/mksh.htm'
license=('custom')
@@ -25,7 +25,7 @@ build() {
package() {
cd "$srcdir/$pkgname"
- install -D -m 755 mksh "$pkgdir/bin/mksh"
+ 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"
diff --git a/community/mksh/mksh.install b/community/mksh/mksh.install
index 3e5f2a924..f096a2b66 100644
--- a/community/mksh/mksh.install
+++ b/community/mksh/mksh.install
@@ -2,10 +2,6 @@ post_install() {
grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells
}
-post_upgrade() {
- post_install $1
-}
-
post_remove() {
sed -i "/^\/bin\/mksh$/d" /etc/shells
}