mksh: initial commit

This commit is contained in:
Maximilian Dietrich 2013-09-24 14:31:24 +02:00
parent cec4ceb072
commit 749b778f01
4 changed files with 34 additions and 0 deletions

8
mksh/.footprint Normal file
View File

@ -0,0 +1,8 @@
drwxr-xr-x root/root bin/
-rwxr-xr-x root/root bin/mksh
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/mkshrc
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/mksh.1.gz

1
mksh/.md5sum Normal file
View File

@ -0,0 +1 @@
ab9baa6b5a4de9d0e6a3ce9957c18da0 mksh-R48b.tgz

20
mksh/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: The MirBSD Korn Shell
# URL: http://www.mirbsd.org/mksh.htm
# Maintainer: Maximilian Dietrich, dxm at openmailbox dot org
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on:
name=mksh
version=R48b
release=1
source=(http://www.mirbsd.org/MirOS/dist/mir/mksh/$name-$version.tgz)
build() {
cd $name
sh Build.sh -r
install -D -m 0755 $name $PKG/bin/$name
install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1
install -D -m 0644 dot.${name}rc $PKG/etc/${name}rc
}

5
mksh/post-install Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
if ! grep mksh /etc/shells > /dev/null 2>&1; then
echo "Adding mksh to /etc/shells ..."
echo "/bin/mksh" >> /etc/shells
fi