aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-08-04 11:32:10 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-08-04 11:32:17 +0000
commitd6087938925f82272a3c802a01e55209b533b187 (patch)
tree81ef355391d8bb6258e2a16c63887ad37e04a9fd /testing
parent65dc2a5271041c361305be0cc3388d7334aa3ced (diff)
downloadaports-d6087938925f82272a3c802a01e55209b533b187.tar.bz2
aports-d6087938925f82272a3c802a01e55209b533b187.tar.xz
testing/mksh: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/mksh/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/mksh/APKBUILD b/testing/mksh/APKBUILD
new file mode 100644
index 0000000000..1f77113856
--- /dev/null
+++ b/testing/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"