aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ijq/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ijq/APKBUILD')
-rw-r--r--testing/ijq/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/ijq/APKBUILD b/testing/ijq/APKBUILD
new file mode 100644
index 0000000000..1bb597c41b
--- /dev/null
+++ b/testing/ijq/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: TBK <alpine@jjtc.eu>
+# Maintainer: TBK <alpine@jjtc.eu>
+pkgname=ijq
+pkgver=0.2.3
+pkgrel=0
+pkgdesc="Interactive jq tool"
+url="https://git.sr.ht/~gpanders/ijq/"
+arch="all"
+license="GPL-3.0-or-later"
+options="!check" # no test suite
+makedepends="go scdoc"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~gpanders/ijq/archive/v$pkgver.tar.gz
+ makefile-destdir.patch
+ "
+builddir="$srcdir/$pkgname-v$pkgver"
+
+build() {
+ make
+}
+
+package() {
+ DESTDIR="$pkgdir" make PREFIX=/usr install
+}
+
+sha512sums="ecced0f86c23b6fcb19addb944f7c2b7589895672fc625652f40dab466cbd5da9c0fa4522c897a0578c2bc5e2c0a7f8c36a1a5ad19e545d92ec1ed386948aea1 ijq-0.2.3.tar.gz
+0d7de6f9099d9bb86977f924e6dd7c910d3b85d130a7d7e27634075bb41e45a899165540c638204fa896bfc92e46797883f757d29632df8fc78b7026dc59888b makefile-destdir.patch"