aboutsummaryrefslogtreecommitdiffstats
path: root/main/mksh/APKBUILD
blob: 6a5b546ec15dd8a4c4acad2f871c7e4e782a713a (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=53a
_pkgver=R$pkgver
pkgrel=0
pkgdesc="MirBSD KSH Shell"
url="https://www.mirbsd.org/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/$pkgname/$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="43fc3e32963cc1795a299bcec531d770  mksh-R53a.tgz"
sha256sums="3bb2453c8cb65abbda24f9bdd8b8371e30a6e1c2f7a0d5474a3efae438639635  mksh-R53a.tgz"
sha512sums="634e1cbdba7eaa3b6a7d75d9ade23e6465c8874ef616adb708867f6c46e5722bd2e4818f92350aeb7908872678fb446635224fff990d4dcdd4cf4f666cf2e91c  mksh-R53a.tgz"