main/mksh: install mksh binary to /bin

fixes #4292
This commit is contained in:
Sören Tempel 2015-08-10 15:37:04 +02:00 committed by Natanael Copa
parent 0ea61f51d5
commit 075e8003fa
3 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
pkgname=mksh
pkgver=51
_pkgver=R$pkgver
pkgrel=0
pkgrel=1
pkgdesc="MirBSD KSH Shell"
url="http://mirbsd.de/mksh"
arch="all"
@ -10,7 +10,7 @@ license="BSD"
depends=""
depends_dev=""
makedepends=""
install="mksh.post-install mksh.post-upgrade mksh.pre-deinstall"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
source="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz"
@ -22,9 +22,9 @@ build() {
package() {
cd "$_builddir"
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"/usr/share/doc/mksh/dot.mkshrc
install -Dm755 mksh "$pkgdir"/bin/mksh
install -Dm644 mksh.1 "$pkgdir"/usr/share/man/man1/mksh.1
install -Dm644 dot.mkshrc "$pkgdir"/usr/share/doc/mksh/dot.mkshrc
}
md5sums="8e522475da795c60f35a6f8035481baf mksh-R51.tgz"

View File

@ -1,3 +1,3 @@
#!/bin/sh
add-shell '/usr/bin/mksh'
add-shell '/bin/mksh'
exit 0

View File

@ -1,3 +1,3 @@
#!/bin/sh
remove-shell '/usr/bin/mksh'
remove-shell '/bin/mksh'
exit 0