aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/lok/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-07-19 22:11:21 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-07-19 22:11:21 +0200
commitedfbe1db52953a178a91709a603fe4638e474af5 (patch)
tree2fc76921454bce533ccdc4afabe435597f71a7a3 /unmaintained/lok/APKBUILD
parent6df08037df8976b677b1adf291bf5efd4aada8af (diff)
downloadaports-edfbe1db52953a178a91709a603fe4638e474af5.tar.bz2
aports-edfbe1db52953a178a91709a603fe4638e474af5.tar.xz
unmaintained/lok: move from testing/
Diffstat (limited to 'unmaintained/lok/APKBUILD')
-rw-r--r--unmaintained/lok/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/unmaintained/lok/APKBUILD b/unmaintained/lok/APKBUILD
new file mode 100644
index 0000000000..7a076a7ffe
--- /dev/null
+++ b/unmaintained/lok/APKBUILD
@@ -0,0 +1,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"