blob: 42e2c3a4c2b69c3b4f4ddbb53e6f71cb27244ca8 (
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
33
34
35
36
37
|
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer: Sören Tempel <soeren+alpinelinux@soeren-tempel.net>
pkgname=mksh
pkgver=56b
_pkgver=R$pkgver
pkgrel=0
pkgdesc="MirBSD KSH Shell"
url="https://www.mirbsd.org/mksh"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends=""
checkdepends="perl"
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
}
check() {
cd "$builddir"
./test.sh -v -f -C regress:no-ctty
}
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
}
sha512sums="a6f9061b2bfd19e9f4fdf3212a1c5a53a53cdb52650c95287cd380530c08f4a65a1ccec4bdcbba5e7c34e4764bf04eb43abb01742bcbf83107847a6996cc77a8 mksh-R56b.tgz"
|