aboutsummaryrefslogtreecommitdiffstats
path: root/community/loksh/APKBUILD
blob: 4410b1e175aecbcfd616fd6b794515bcf7a17109 (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.2
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=""
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="80bce68b4c553a32cfef609f03d3d36da97c56618c840dce13deb9dde8b592251f3ab0cb1b3ac55d1e3ee9b978602f1178cb0c54a4bd7847e15d80b7eac17f50  loksh-6.2.tar.gz"