aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ijq/APKBUILD
blob: 1bb597c41b42bb124aaba131dd00c8569665702f (plain) (blame)
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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=ijq
pkgver=0.2.3
pkgrel=0
pkgdesc="Interactive jq tool"
url="https://git.sr.ht/~gpanders/ijq/"
arch="all"
license="GPL-3.0-or-later"
options="!check" # no test suite
makedepends="go scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~gpanders/ijq/archive/v$pkgver.tar.gz
	makefile-destdir.patch
	"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make
}

package() {
	DESTDIR="$pkgdir" make PREFIX=/usr install
}

sha512sums="ecced0f86c23b6fcb19addb944f7c2b7589895672fc625652f40dab466cbd5da9c0fa4522c897a0578c2bc5e2c0a7f8c36a1a5ad19e545d92ec1ed386948aea1  ijq-0.2.3.tar.gz
0d7de6f9099d9bb86977f924e6dd7c910d3b85d130a7d7e27634075bb41e45a899165540c638204fa896bfc92e46797883f757d29632df8fc78b7026dc59888b  makefile-destdir.patch"