summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-29 02:08:13 +0000
committerSam James <sam@gentoo.org>2022-12-29 02:08:18 +0000
commit5b0c283e7bf34a338597ad38fd0aae3ff4460846 (patch)
treec3656abc693f173a361f07515d889a075902b947 /sys-apps
parentgames-emulation/pcsx2: update rapidyaml patch for live (diff)
downloadgentoo-5b0c283e7bf34a338597ad38fd0aae3ff4460846.tar.gz
gentoo-5b0c283e7bf34a338597ad38fd0aae3ff4460846.tar.bz2
gentoo-5b0c283e7bf34a338597ad38fd0aae3ff4460846.zip
sys-apps/goawk: new package, add 1.21.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/goawk/Manifest1
-rw-r--r--sys-apps/goawk/goawk-1.21.0.ebuild28
-rw-r--r--sys-apps/goawk/metadata.xml11
3 files changed, 40 insertions, 0 deletions
diff --git a/sys-apps/goawk/Manifest b/sys-apps/goawk/Manifest
new file mode 100644
index 000000000000..445acde1b676
--- /dev/null
+++ b/sys-apps/goawk/Manifest
@@ -0,0 +1 @@
+DIST goawk-1.21.0.tar.gz 1674139 BLAKE2B 782cbba57efecd8cb707d5eeaf5021756b5472232a7ef9ce4a55645c31b46f90a187c65f05acc05ea39ca2a225cdc65e96d25c6ecb44d814b5f7c0a085c14712 SHA512 32d4ad87db9eb40ecd90dee5aa34c312c96d223d59298bab5781621fa3f933492a1fab9cc4738faf24fe8eb38c802224f9cbbcde368ea7c2f136cde82f7eeca5
diff --git a/sys-apps/goawk/goawk-1.21.0.ebuild b/sys-apps/goawk/goawk-1.21.0.ebuild
new file mode 100644
index 000000000000..7f7a8282cd24
--- /dev/null
+++ b/sys-apps/goawk/goawk-1.21.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022 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
+}
diff --git a/sys-apps/goawk/metadata.xml b/sys-apps/goawk/metadata.xml
new file mode 100644
index 000000000000..65bd5f412a1b
--- /dev/null
+++ b/sys-apps/goawk/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">benhoyt/goawk</remote-id>
+ </upstream>
+</pkgmetadata>