aboutsummaryrefslogtreecommitdiffstats
path: root/community/loksh/APKBUILD
blob: 0798c88c63b460aafad77f143672fee7021f25b6 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=loksh
pkgver=6.6
pkgrel=0
pkgdesc="A Linux port of OpenBSD's ksh"
url="https://github.com/dimkr/$pkgname"
arch="all"
license="ISC"
replaces="oksh"
makedepends="ncurses-dev"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
options="!check" # upstream doesn't have a test suite
subpackages="$pkgname-doc"
source="loksh-$pkgver.tar.gz::https://github.com/dimkr/loksh/archive/$pkgver.tar.gz"

build() {
	make -C "$builddir"
}

package() {
	make DESTDIR="$pkgdir" \
		PREFIX="/usr" \
		BIN_DIR="/bin" \
		-C "$builddir" install
}

sha512sums="7f5188b3f0af3167f1c5847043689a35f22d5075cee2ec4ce3ebd324a59233e89db1c864dc62a05ad036ddd541ee89c680fa82e22b85cd2c82ad32c5ebad51be  loksh-6.6.tar.gz"