aboutsummaryrefslogtreecommitdiffstats
path: root/community/loksh/APKBUILD
blob: 4ed8f5fd9af6d55df21b537cbcb7972eb17f58b8 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=loksh
pkgver=7.5
pkgrel=0
pkgdesc="A Linux port of OpenBSD's ksh"
url="https://github.com/dimkr/$pkgname"
arch="all"
license="Public-Domain"
makedepends="ncurses-dev meson"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
options="!check" # upstream doesn't have a test suite
subpackages="$pkgname-doc"
source="loksh-$pkgver.tar.xz::https://github.com/dimkr/loksh/releases/download/$pkgver/loksh-$pkgver.tar.xz"

build() {
	abuild-meson \
		--prefix=/ \
		--bindir=/bin \
		. output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
9aee8219a4d63d06c95df2347611a04664ec344c2cb4c3d5d14bdea6b9cabc424246b0e070c901b4a5e38f5784b2c43f5c3c78b01f74cbdce46eded6fda043db  loksh-7.5.tar.xz
"