blob: 1046a8537cd44d41e20acf084b9564f553ce6579 (
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=52c
_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="cc3884e02314447e7b4a3073b8d65d1e mksh-R52c.tgz"
sha256sums="c6341acea725103f782c14e994d6e12dabaee69e60fe1bc78603a41258d43ba6 mksh-R52c.tgz"
sha512sums="f2434f2e165da290cc3f5d78846fb4774115a6e35ef3299d0343b1797b3773921d614396b0da78f8e9a451d6029df9abff503575c5cdcb232e18df7731d18da0 mksh-R52c.tgz"
|