aboutsummaryrefslogtreecommitdiffstats
path: root/main/mksh/APKBUILD
blob: 4902d2a0a19a18e40d6311c416abd23d4576ac92 (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=51
_pkgver=R$pkgver
pkgrel=1
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="8e522475da795c60f35a6f8035481baf  mksh-R51.tgz"
sha256sums="9feeaa5ff33d8199c0123675dec29785943ffc67152d58d431802bc20765dadf  mksh-R51.tgz"
sha512sums="dea2dea283959c0564cb6e9dbb9eecf004365cd01d83f1a8bbaff319c8ebefc4eb5e85898e207c7ce0577af525be0563e7c6b5f4b3449a2439e93f3f8bfd43ea  mksh-R51.tgz"