Skip to content
Snippets Groups Projects
Commit 1c092dff authored by Michał Polański's avatar Michał Polański Committed by Leo
Browse files

main/jq: package cleanup

parent 66591e9a
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment