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

build() {
	make
}

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

sha512sums="
8f6df56869cd391d89a93da7b0dc0b97638a4a4b473abad6de69e9f1adaef7366f05e9a76bc2103e87d1b7ab34bf399a6a5db6ff049676b6c88d7125bedb0401  ijq-0.3.5.tar.gz
ad49dafd0ae838f98fa6e656eb01bd1216f3e091128310b8d5ad081f5fce266e1dfdf1fe9991883116bc3b29b48828aebabd58481aa822715797c993f6f62e00  makefile.patch
"