aboutsummaryrefslogtreecommitdiffstats
path: root/main/mksh/APKBUILD
blob: 1f771138568da7495b518cc2e81fd3fc6c3f4984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"