aboutsummaryrefslogtreecommitdiffstats
path: root/testing/loksh/APKBUILD
blob: 4ed9aabd0dc420cff7a75b579a8cb18e9ac4af02 (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.8
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="97a280b49b77087a3e144f3fb4e25c04  loksh-5.8.tar.gz"
sha256sums="12da3d4a431bef3178e82535ce3b61f513ce9fd597ee8ee424924dff1b71380e  loksh-5.8.tar.gz"
sha512sums="f58cc143c9aa81f7c40e78385c48ace6d3713b54fc19b1a9b99ff244378902aa7e1537bffe329c0de3f5fe9074b3cf146b1d63f60741795dfdbda956108627b9  loksh-5.8.tar.gz"