community/mksh to R46-3

This commit is contained in:
Kevin Mihelich 2013-06-03 15:43:15 +00:00
parent 26a6b15f04
commit 8264b7a0cf
2 changed files with 2 additions and 6 deletions

View file

@ -7,7 +7,7 @@
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')
@ -28,7 +28,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"

View file

@ -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
}