aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lok
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lok')
-rw-r--r--testing/lok/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/lok/APKBUILD b/testing/lok/APKBUILD
new file mode 100644
index 0000000000..c695deaf71
--- /dev/null
+++ b/testing/lok/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+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"