aboutsummaryrefslogtreecommitdiffstats
path: root/main/jq/APKBUILD
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-01-27 17:54:29 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-27 21:24:51 +0100
commit1c092dff7c0d883a65f0ebc7deecb79b4fa73c7c (patch)
tree4b6ecd6634c0603e37969d2f2f5686dcc9df9577 /main/jq/APKBUILD
parent66591e9ab49e979aab9684d28b6e42d680d8b03c (diff)
downloadaports-1c092dff7c0d883a65f0ebc7deecb79b4fa73c7c.tar.bz2
aports-1c092dff7c0d883a65f0ebc7deecb79b4fa73c7c.tar.xz
main/jq: package cleanup
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
}