blob: a1d7906de7eea2e26c11097b4e071bf5b7363a5c (
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=0
pkgdesc="MirBSD KSH Shell"
url="http://mirbsd.de/mksh"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends=""
install="mksh.post-install mksh.post-upgrade mksh.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 -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="8e522475da795c60f35a6f8035481baf mksh-R51.tgz"
sha256sums="9feeaa5ff33d8199c0123675dec29785943ffc67152d58d431802bc20765dadf mksh-R51.tgz"
sha512sums="dea2dea283959c0564cb6e9dbb9eecf004365cd01d83f1a8bbaff319c8ebefc4eb5e85898e207c7ce0577af525be0563e7c6b5f4b3449a2439e93f3f8bfd43ea mksh-R51.tgz"
|