Package Details: jq-git 1.6rc2.3.g0c845aa-1

Git Clone URL: (read-only, click to copy)
Package Base: jq-git
Description: Command-line JSON processor
Upstream URL:
Licenses: custom
Conflicts: jq
Provides: jq
Submitter: alexchamberlain
Maintainer: OJFord
Last Packager: tuckerboniface
Votes: 11
Popularity: 0.002014
First Submitted: 2012-10-22 21:03 (UTC)
Last Updated: 2018-10-13 23:10 (UTC)

Dependencies (8)

Required by (800)

Sources (1)

Latest Comments

1 2 Next › Last »

a172 commented on 2023-10-13 19:27 (UTC) (edited on 2023-10-13 19:28 (UTC) by a172)

PKGBUILD update with several fixes, most small:

  • Use the builtin prefix for oniguruma (this prevents installing the oniguruma library, which is handled by the oniguruma package)
  • Update project URLs
  • Update depends to include glibc
  • Update makedepends to reflect upstream
  • Minor style updates to match PKGBUILD from extra
  • Change license to MIT
# Maintainer: Tucker Boniface <>
# Submitter: Alex Chamberlain <>
# Maintainer: Kars Wang <>

pkgdesc='Command-line JSON processor'
depends=('glibc' 'oniguruma')
makedepends=('autoconf' 'automake' 'git' 'libtool')

pkgver() {
    cd "${_gitname}"
    git describe --tag | sed -e 's/^jq-//' -e 's/-/./g'

build() {
    cd "${_gitname}"
    git submodule update --init
    autoreconf -i
    ./configure --prefix=/usr --with-onigurmua=builtin

package() {
    cd "$_gitname"
    make DESTDIR="${pkgdir}" prefix=/usr install
    install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"

Gamma commented on 2023-08-01 19:13 (UTC) (edited on 2023-08-01 19:27 (UTC) by Gamma)

python is a makedepend, not python2.

qubidt commented on 2023-07-07 00:42 (UTC)

updated to the new project urls:

< url=''
< license=('custom')
> url=''
> license=('MIT' 'CCPL:by' 'custom:ICU')
< source=('git+')
> source=('git+')

tuckerboniface commented on 2018-08-31 05:50 (UTC)

Patch has been applied, compilation is successful.

tuckerboniface commented on 2018-08-29 04:52 (UTC)

There is currently an upstream issue causing jq-git to fail to compile. ( I will add a patch to fix this.

Alad commented on 2016-09-18 01:53 (UTC) (edited on 2016-09-18 01:53 (UTC) by Alad)

Would you mind adding jq to provides?

eigengrau commented on 2016-04-20 16:34 (UTC)

The man page doesn’t seem to build correcly. For me, «man jq» yields: > # To unbundle, run this file echo exec sed ’s/.//’ >exec > <<’//GO.SYSIN DD exec’ //GO.SYSIN DD exec echo rake sed ’s/.//’ > >rake <<’//GO.SYSIN DD rake’ //GO.SYSIN DD rake echo manpage sed > ’s/.//’ >manpage <<’//GO.SYSIN DD manpage’ //GO.SYSIN DD manpage

mSSM commented on 2015-05-22 15:53 (UTC)

When building, the linker can't seem to find the oniguruma library, even though it's installed: CCLD jq /usr/bin/ld: cannot find -lonig ./.libs/libjq.a(util.o): In function `get_home': util.c:(.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: error: ld returned 1 exit status Makefile:825: recipe for target 'jq' failed make[1]: *** [jq] Error 1 Any ideas what might be going on there? It's definitely in my /usr/lib: % ldconfig -p | grep onig (libc6,x86-64) => /usr/lib/ (libc6,x86-64) => /usr/lib/

beatgammit commented on 2015-02-27 18:12 (UTC)

As @lilydjwg mentioned, please move oniguruma from makedepends to depends since it's needed to run.

lilydjwg commented on 2014-09-23 08:07 (UTC)

Please use git describe --tags as tag jq-1.4 is a lightweight tag being ignored currently. See