diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-10-06 23:13:37 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-10-06 23:21:46 +0200 |
commit | 5f5f852407d176edf3596f5dcde0cd7aa21d446c (patch) | |
tree | 1fa72a09427ce767034a3840a6b6d4ebdfe0a01d /main/jq/APKBUILD | |
parent | 20c6f9396b059af73190a0dee752360498ef8bd8 (diff) | |
download | aports-5f5f852407d176edf3596f5dcde0cd7aa21d446c.tar.bz2 aports-5f5f852407d176edf3596f5dcde0cd7aa21d446c.tar.xz |
main/jq: upgrade to 1.6_rc2
I actually dislike the fact that we use release candidates instead of
the latest release but since this decision has already been made we
should at least use the latest release candidate.
Fixes #9503
Diffstat (limited to 'main/jq/APKBUILD')
-rw-r--r-- | main/jq/APKBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/main/jq/APKBUILD b/main/jq/APKBUILD index 6932ec8fa7..2a4fadfa29 100644 --- a/main/jq/APKBUILD +++ b/main/jq/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> # Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> pkgname=jq -pkgver=1.6_rc1 +pkgver=1.6_rc2 _pkgver=${pkgver/_} pkgrel=1 pkgdesc="A lightweight and flexible command-line JSON processor" @@ -10,24 +10,32 @@ arch="all" license="MIT" depends="" depends_dev="" -makedepends="$depends_dev oniguruma-dev automake autoconf libtool" +makedepends="oniguruma-dev automake autoconf libtool" install="" subpackages="$pkgname-doc $pkgname-dev" -source="https://github.com/stedolan/jq/archive/${pkgname}-${_pkgver}.tar.gz" -builddir="${srcdir}/$pkgname-${pkgname}-${_pkgver}" +source="https://github.com/stedolan/jq/archive/${_pkgver}.tar.gz" +builddir="$srcdir/$pkgname-$_pkgver" # secfixes: # 1.6_rc1-r0: # - CVE-2016-4074 prepare() { + default_prepare cd "$builddir" autoreconf -fi } build() { cd "$builddir" - ./configure --prefix=/usr --disable-docs + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-docs make } @@ -41,4 +49,4 @@ package() { make DESTDIR="$pkgdir" prefix=/usr install } -sha512sums="c70983c4c60d34fc6edb22763624b100f57db8536381c447a6cb31b660d68f51574f823ee3a231186dde422b871ba017b16488f7296efb5962f9af34859c2377 jq-1.6rc1.tar.gz" +sha512sums="bbdb934a27d42e8c8efe33c1ed59f3729f9ea35bfb24f19463382a5bc31061730b48afe7d6d209c1b3c6335042a8bd11af50e417c728544a3a4644e22a88ad05 1.6rc2.tar.gz" |