aboutsummaryrefslogtreecommitdiffstats
path: root/main/mksh/APKBUILD
blob: 15b03cfb098076d294171e163c54153534b11223 (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
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=mksh
pkgver=52
_pkgver=R$pkgver
pkgrel=0
pkgdesc="MirBSD KSH Shell"
url="http://mirbsd.de/mksh"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends=""
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
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 -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="cd5b92fc2e455d33cbd59f3e7518f257  mksh-R52.tgz"
sha256sums="45c2f5cdd2c63a6a831ffae65cea0afd021eabb983537aa21ff893ee38b3768f  mksh-R52.tgz"
sha512sums="83b478baa401dc6116c363043d9d6629028bbcdf19448db939738c5b98f8e4f7da92932296c2ee813b317151d31a1b6cd55d27f062f79e587e22991b018a0285  mksh-R52.tgz"