aboutsummaryrefslogtreecommitdiffstats
path: root/testing/loksh/APKBUILD
blob: 495ac384a62387ee74dbfb85ab7bcddfa3d728e5 (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
32
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=loksh
pkgver=5.9
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"
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" || return 1
}

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

md5sums="98465da81e0495cd773713a2b095eccd  loksh-5.9.tar.gz"
sha256sums="1132937bad9b6f5d4262c294359d1a5c05d4394a5714bc59df4614f8668a259e  loksh-5.9.tar.gz"
sha512sums="0cb1c7afea89c96959611a8bedfaa8c92a41d3e753f5a4ef74c54e6eeb360253d099d1c287867163e894ccd8e48eb785ac8a46c14f24fdfe4075c052832944b4  loksh-5.9.tar.gz"