aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-02 19:46:21 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-02 20:53:17 +0100
commita4720fc2fa2bdfa62e9b0c6a6406a37d7113989b (patch)
tree3c7d4f1a64229e081eddc438eadd5ccc0c9333d5
parent3bdacdae0ef6f0cc6a53c078d5147b36888748c0 (diff)
downloadaports-a4720fc2fa2bdfa62e9b0c6a6406a37d7113989b.tar.bz2
aports-a4720fc2fa2bdfa62e9b0c6a6406a37d7113989b.tar.xz
testing/oq: new aport
-rw-r--r--testing/oq/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/oq/APKBUILD b/testing/oq/APKBUILD
new file mode 100644
index 0000000000..a7f722ba6c
--- /dev/null
+++ b/testing/oq/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=oq
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="A portable jq wrapper with support of other formats than JSON"
+url="https://github.com/blacksmoke16/oq"
+arch="x86_64 aarch64" # limited by Crystal
+license="MIT"
+depends="jq"
+makedepends="crystal libxml2-dev yaml-dev"
+source="https://github.com/Blacksmoke16/oq/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ crystal build --release -o bin/oq src/oq_cli.cr
+}
+
+check() {
+ crystal spec
+}
+
+package() {
+ install -D -m 755 bin/oq "$pkgdir"/usr/bin/oq
+}
+
+sha512sums="0b88d593d509bbfb525adba8c85b8534d507d46d23044f5ba5a7adab64cda87d26f40c004518f10aca6f549e90a115a04c8d83f6a71d5e4ea2a4313e7e6f5552 oq-0.2.1.tar.gz"