mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/jq: package cleanup
This commit is contained in:
parent
66591e9ab4
commit
1c092dff7c
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user