aboutsummaryrefslogtreecommitdiffstats
path: root/testing/loksh/APKBUILD
blob: 5f4bd730e527420d26553f1c126edb8502eab72b (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
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=loksh
pkgver=5.7
pkgrel=0
pkgdesc="A Linux port of OpenBSD's ksh"
url="https://github.com/dimkr/$pkgname"
arch="all"
license="ISC"
replaces="oksh"
depends=""
makedepends="musl"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/dimkr/$pkgname/archive/5.7.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
build() {
	make -C "$_builddir" || return 1
}

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

md5sums="aa26163fda0a9ca77556473e79981300  loksh-5.7.tar.gz"
sha256sums="4bca639cd0f9be61996619d10e523a9dc07cebc7ae60bd4889763eb08ee8ac6e  loksh-5.7.tar.gz"
sha512sums="87be684504c38fc3543d3f50861b8fc3d854c20b56d3066e620af9a8892893a4ecf9105c0c54446bdc3ede5bc76da42ca0d50b83f042257ee31276898b0d42ae  loksh-5.7.tar.gz"