summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-17 21:36:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-17 21:36:46 +0000
commitd928df87abc70925001ccba707d2df2cb11dda37 (patch)
tree7848990cbb1c1f11e4dcb4d4d923821e5494f25f
parentb33289e875d1f2a8f0b1cc98e02ead7aace4d74b (diff)
downloadpackages-d928df87abc70925001ccba707d2df2cb11dda37.tar.gz
packages-d928df87abc70925001ccba707d2df2cb11dda37.tar.bz2
packages-d928df87abc70925001ccba707d2df2cb11dda37.tar.xz
packages-d928df87abc70925001ccba707d2df2cb11dda37.zip
user/mksh: bump to 57
-rw-r--r--user/mksh/APKBUILD26
1 files changed, 10 insertions, 16 deletions
diff --git a/user/mksh/APKBUILD b/user/mksh/APKBUILD
index 572663be3..acbe85329 100644
--- a/user/mksh/APKBUILD
+++ b/user/mksh/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Marek Benc <dusxmt@gmx.com>
# Maintainer: Marek Benc <dusxmt@gmx.com>
pkgname=mksh
-pkgver=56c
+pkgver=57
pkgrel=0
pkgdesc="MirBSD Korn Shell, a free Korn Shell interpreter"
url="http://mirbsd.de/mksh"
@@ -16,8 +16,6 @@ source="http://www.mirbsd.org/MirOS/dist/mir/${pkgname}/${pkgname}-R${pkgver}.tg
builddir=$srcdir/$pkgname
build() {
- cd "$builddir"
-
# Build the main shell:
/bin/sh ./Build.sh -r
mv test.sh test_mksh.sh
@@ -28,9 +26,15 @@ build() {
mv test.sh test_lksh.sh
}
-package() {
- cd "$builddir"
+check() {
+ echo "Running the test suite for mksh:"
+ ./test_mksh.sh
+ echo "Running the test suite for lksh:"
+ ./test_lksh.sh
+}
+
+package() {
mkdir -p "$pkgdir"/bin
install -m 755 mksh "$pkgdir"/bin
install -m 755 lksh "$pkgdir"/bin
@@ -43,14 +47,4 @@ package() {
install -m 644 dot.mkshrc "$pkgdir"/usr/share/doc/mksh/examples/
}
-check() {
- cd "$builddir"
-
- echo "Running the test suite for mksh:"
- ./test_mksh.sh
-
- echo "Running the test suite for lksh:"
- ./test_lksh.sh
-}
-
-sha512sums="7e4cd2d24c6bca2ebad7c6b02d158188e766bd4693d93f5bed198d69238aef078d42ce911431ad4e419e4af55083047d823bfad53973db5c6d8a685482770135 mksh-R56c.tgz"
+sha512sums="7d7fa557c17da4f1f62f82877a136439efb6d4f9fde52b2df39214db09868982e756df6e4fe83498f9013cbcf3252dc383b00ddfafaa4c9f143ffded7cd255b3 mksh-R57.tgz"