aboutsummaryrefslogtreecommitdiffstats
path: root/community/loksh/APKBUILD
blob: 771194ba2eb6ae7be943fca51b25130de98e55b2 (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.5
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="35eb7d8bc8e01787034981c6f8d3733419065548efc21c6d6dcafe4cbe1912ef8c1fe911f1ae9955900bfeb363604230470280944f6eae0628def711bb6f8d93  loksh-6.5.tar.gz"