aboutsummaryrefslogtreecommitdiffstats
path: root/main/mksh/APKBUILD
blob: 106044f8d467b4048712fd3a3e09210240e5341f (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=50b
_pkgver=R50b
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="1821a40dacc44293d7325c6021952b69  mksh-R50b.tgz"
sha256sums="51ff2f8b6450f50823f42b8f2431a0f17c40c9f2b0f83e15aa0d05a09627cd49  mksh-R50b.tgz"
sha512sums="0170401d0722575dd81f853b6730b008171fe57cd7e6df7d1d401db28e318a2b9f654676160148cb2443237bfa42d0efcfbc16e52715dc6425e192569e3fa286  mksh-R50b.tgz"