summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/gron/Manifest2
-rw-r--r--app-misc/gron/gron-0.7.1.ebuild28
2 files changed, 30 insertions, 0 deletions
diff --git a/app-misc/gron/Manifest b/app-misc/gron/Manifest
new file mode 100644
index 0000000..9c8c8b3
--- /dev/null
+++ b/app-misc/gron/Manifest
@@ -0,0 +1,2 @@
+DIST gron-0.7.1-vendor.tar.xz 303708 BLAKE2B a6c850c0810a1e2cdf118cb779eb7a38580038ba108aa068b67380b66e9fd1233e2f61806069348bb855c27f566cd27556c59f12561febe9f63d7d830e58cdf9 SHA512 b874afa3b0ccfb30c84c14613b0162adb51541c9f38c1501879ed49aa3d4f363442a05aff5612786580a9ce2017b7988e74ee5745269b6fbc41e7d0751a0cdcf
+DIST gron-0.7.1.tar.gz 340819 BLAKE2B b3f8bc1056c902e1aea92a6232472b1f55ff89af2e152d6f42c9f6b8e42407778f502c2abe4ba824b0a1ab5f090d67d9bb76191d9ba71ba008eebe724908ecdb SHA512 8bce1915577b12cdd4105874368a8c71240a8437c402fc515598b204f8d84ade3ecc6d3bccac820683bf6fea8cf6dad2e3be7f3a3b2281af35d07524975f51ee
diff --git a/app-misc/gron/gron-0.7.1.ebuild b/app-misc/gron/gron-0.7.1.ebuild
new file mode 100644
index 0000000..825ce22
--- /dev/null
+++ b/app-misc/gron/gron-0.7.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Make JSON greppable!"
+HOMEPAGE="https://github.com/tomnomnom/gron"
+BDEPEND=">=dev-lang/go-1.15"
+SRC_URI="https://github.com/tomnomnom/gron/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz "
+
+LICENSE="MIT"
+LICENSE+=" BSD-2 "
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build .
+}
+
+src_test() {
+ ego test ./...
+}
+
+src_install() {
+ dobin gron
+}