aboutsummaryrefslogtreecommitdiffstats
path: root/main/jq/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/jq/APKBUILD')
-rw-r--r--main/jq/APKBUILD13
1 files changed, 3 insertions, 10 deletions
diff --git a/main/jq/APKBUILD b/main/jq/APKBUILD
index 9bb738089c..57afc94ce3 100644
--- a/main/jq/APKBUILD
+++ b/main/jq/APKBUILD
@@ -2,17 +2,14 @@
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=jq
pkgver=1.6
-pkgrel=0
+pkgrel=1
pkgdesc="A lightweight and flexible command-line JSON processor"
-url="http://stedolan.github.io/jq/"
+url="https://stedolan.github.io/jq/"
arch="all"
license="MIT"
-depends=""
-depends_dev=""
makedepends="oniguruma-dev automake autoconf libtool"
-install=""
subpackages="$pkgname-doc $pkgname-dev"
-source="https://github.com/stedolan/jq/archive/$pkgname-$pkgver.tar.gz"
+source="https://github.com/stedolan/jq/archive/jq-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
# secfixes:
@@ -21,12 +18,10 @@ builddir="$srcdir/$pkgname-$pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
autoreconf -fi
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -39,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" prefix=/usr install
}