aboutsummaryrefslogtreecommitdiffstats
path: root/main/jq/APKBUILD
blob: ec1206009b9531dbd507ccc9649213f732fe0c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=jq
pkgver=1.4
pkgrel=0
pkgdesc="A lightweight and flexible command-line JSON processor"
url="http://stedolan.github.io/jq/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-dev"
source="http://stedolan.github.io/jq/download/source/${pkgname}-${pkgver}.tar.gz"

_builddir="${srcdir}/${pkgname}-${pkgver}"

build() {
	cd "$_builddir"
	./configure --prefix=/usr --disable-docs
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" prefix=/usr install
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="e3c75a4f805bb5342c9f4b3603fb248f  jq-1.4.tar.gz"
sha256sums="998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d  jq-1.4.tar.gz"
sha512sums="02e601b713a3249bcfe5373153dff38a63bf504895181ca3f691dbf033b407373a9c5880001bbd1954123cdf89f4fe75e2a5168e7a7cf13b3f7355dc18f92458  jq-1.4.tar.gz"