summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/goawk')
-rw-r--r--sys-apps/goawk/Manifest1
-rw-r--r--sys-apps/goawk/goawk-1.22.0.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/sys-apps/goawk/Manifest b/sys-apps/goawk/Manifest
index 445acde1b676..8162e9818798 100644
--- a/sys-apps/goawk/Manifest
+++ b/sys-apps/goawk/Manifest
@@ -1 +1,2 @@
DIST goawk-1.21.0.tar.gz 1674139 BLAKE2B 782cbba57efecd8cb707d5eeaf5021756b5472232a7ef9ce4a55645c31b46f90a187c65f05acc05ea39ca2a225cdc65e96d25c6ecb44d814b5f7c0a085c14712 SHA512 32d4ad87db9eb40ecd90dee5aa34c312c96d223d59298bab5781621fa3f933492a1fab9cc4738faf24fe8eb38c802224f9cbbcde368ea7c2f136cde82f7eeca5
+DIST goawk-1.22.0.tar.gz 1676447 BLAKE2B 315874b8ee6334dd74fc86727340d3e14e01aac08880d562bd6297bcf42ae577e2ab6aa187e2f82616029b2fea9c64074193869fed01a8baa4423a5bfe73f45c SHA512 4109ca6e73f2eb87ef9d5b123634fb01cc92e8867aeec19be3d5b4744c7bd07747330fc6a371adbb52f2cab1fb51b43e9be6d8a851a0f0c5287c6039d497147c
diff --git a/sys-apps/goawk/goawk-1.22.0.ebuild b/sys-apps/goawk/goawk-1.22.0.ebuild
new file mode 100644
index 000000000000..b90cf873bc18
--- /dev/null
+++ b/sys-apps/goawk/goawk-1.22.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="POSIX-compliant AWK interpreter written in Go, with CSV support"
+HOMEPAGE="https://github.com/benhoyt/goawk"
+SRC_URI="https://github.com/benhoyt/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build
+}
+
+src_test() {
+ ego test
+}
+
+src_install() {
+ einstalldocs
+
+ dobin goawk
+}