aboutsummaryrefslogtreecommitdiffstats
path: root/community/loksh/APKBUILD
blob: ea52bbd57b490556f71d318b206f08940ae56176 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=loksh
pkgver=6.4
pkgrel=0
pkgdesc="A Linux port of OpenBSD's ksh"
url="https://github.com/dimkr/$pkgname"
arch="all"
license="ISC"
replaces="oksh"
depends=""
depends_dev=""
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="$pkgname-$pkgver.tar.gz::https://github.com/dimkr/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

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

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

sha512sums="74cce1428346820331fb8bce8acf275077b05a3c46081bce5c35e8e0d47704446bb93ce3e457dbf2e379d5d9656844b78c736b1190b2fe39ee92717863adb86c  loksh-6.4.tar.gz"