aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/lok/APKBUILD
blob: 7a076a7ffedab05cff34abf185143eb385232959 (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:
pkgname=lok
pkgver=5.8
pkgrel=0
pkgdesc="A Linux port of OpenBSD's awk"
url="https://github.com/dimkr/lok"
arch="all"
license="ISC"
depends="!gawk"
depends_dev=""
makedepends=""
install=""
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" \
		MANDIR="/usr/share/man" \
		-C "$_builddir" install || return 1
}

md5sums="24e5aee5b03a49689ca480f988ec39f9  lok-5.8.tar.gz"
sha256sums="ada34686b959598e5d9ec484571eb6598ad690ca6f0d02039281135cb712d1a4  lok-5.8.tar.gz"
sha512sums="6bcbb4cde51477f05a37b552010a148e17c524ec083d1e10e0367f731bd4f04331acfeed7d2c1cdb165e59180a12345efbc454aee05aad38cb9f565916e7246d  lok-5.8.tar.gz"