aboutsummaryrefslogtreecommitdiffstats
path: root/main/mksh
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-08-04 11:44:18 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-08-04 11:44:18 +0000
commit48cef60d91a63e7ec87094c6dfc942ef8382ecf4 (patch)
tree8d940ab63e05e0749d779c4310d8f0ab57415816 /main/mksh
parentd6087938925f82272a3c802a01e55209b533b187 (diff)
downloadaports-48cef60d91a63e7ec87094c6dfc942ef8382ecf4.tar.bz2
aports-48cef60d91a63e7ec87094c6dfc942ef8382ecf4.tar.xz
main/mksh: moved from testing
Diffstat (limited to 'main/mksh')
-rw-r--r--main/mksh/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/mksh/APKBUILD b/main/mksh/APKBUILD
new file mode 100644
index 0000000000..1f77113856
--- /dev/null
+++ b/main/mksh/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=mksh
+pkgver=50
+_pkgver=R50
+pkgrel=0
+pkgdesc="MirBSD KSH Shell"
+url="http://mirbsd.de/mksh"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz"
+
+_builddir="$srcdir/$pkgname"
+
+build() {
+ cd "$_builddir"
+
+ sh Build.sh -r -c lto
+}
+
+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
+}
+
+md5sums="436a448f4124d3743adb9e4a1562b77e mksh-R50.tgz"
+sha256sums="3538cef97df5ba964091f68119fd90822a9589b701a832ecd471c234b6179b56 mksh-R50.tgz"
+sha512sums="a1287278a15bf188c0df00fa55d3439996890d1fa4331f4c41b7995525b85f3e7bfdc75e51d06d3898d12b607eb618105199946633db58da2ecd62e7bf7b1fd9 mksh-R50.tgz"