diff options
-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" |