aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mksh/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/main/mksh/APKBUILD b/main/mksh/APKBUILD
index 8fe88b01c5..b8e16fe361 100644
--- a/main/mksh/APKBUILD
+++ b/main/mksh/APKBUILD
@@ -3,7 +3,7 @@
pkgname=mksh
pkgver=54
_pkgver=R$pkgver
-pkgrel=1
+pkgrel=2
pkgdesc="MirBSD KSH Shell"
url="https://www.mirbsd.org/mksh"
arch="all"
@@ -14,20 +14,23 @@ makedepends=""
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
source="https://www.mirbsd.org/MirOS/dist/mir/$pkgname/$pkgname-$_pkgver.tgz"
+builddir="$srcdir/$pkgname"
-_builddir="$srcdir/$pkgname"
build() {
- cd "$_builddir"
- sh Build.sh -r -c lto
+ cd "$builddir"
+ sh Build.sh -r
+}
+
+check() {
+ cd "$builddir"
+ ./test.sh -v -f
}
package() {
- cd "$_builddir"
+ cd "$builddir"
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="be0a6fb93b4a5f927bcc1893bb6692f8 mksh-R54.tgz"
-sha256sums="8bce3837c386684aa7780f085f1a4dbd5e3e26fb5c528ee0d41ae29af7f39013 mksh-R54.tgz"
sha512sums="d7a86b6c4b8b4ea91617b7f22caa36b3b2b403213e1577b75662cb5b1e353c9607051036161773a2d0b7c9b07351ea855d3494378a684391a1e61f923aefe757 mksh-R54.tgz"