dmacias72 / unRAID-NerdPack

GNU General Public License v2.0
77 stars 33 forks source link

[PACKAGE REQUEST] jq #48

Closed LePresidente closed 2 years ago

LePresidente commented 3 years ago

URL: https://stedolan.github.io/jq/

jq is a lightweight and flexible command-line JSON processor.

jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.

SlackBuild Packages Required: https://slackbuilds.org/slackbuilds/14.2/development/oniguruma.tar.gz https://slackbuilds.org/slackbuilds/14.2/system/jq.tar.gz

techie2000 commented 3 years ago

@LePresidente In the absence of jq in Nerd Pack, I employ a user script that runs on First Array Start Only to d/l jq and the dependency I found:

#!/bin/bash
cd /tmp

wget https://packages.slackonly.com/pub/packages/14.2-x86_64/system/jq/jq-1.6-x86_64-1_slonly.txz
wget https://packages.slackonly.com/pub/packages/14.2-x86_64/development/oniguruma/oniguruma-5.9.6_p1-x86_64-1_slonly.txz

upgradepkg --install-new jq-1.6-x86_64-1_slonly.txz
upgradepkg --install-new oniguruma-5.9.6_p1-x86_64-1_slonly.txz

I THINK you could put the .txz files in /extra and they would get installed on each boot...but I'm not certain on that one.