mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 22:06:40 +02:00
35 lines
1,019 B
Text
35 lines
1,019 B
Text
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=ijq
|
|
pkgver=1.1.0
|
|
pkgrel=7
|
|
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"
|
|
|
|
export GOFLAGS="$GOFLAGS -buildvcs=false"
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
4f78044a51433c88f70c20512d3f41eb1bdcc939e4532913cb8bfe8e3258ba2c7fe88607794e3a461a247cd1a4f4f2c1dbc18b122bec3c2a46bbce6df43015a8 ijq-1.1.0.tar.gz
|
|
ad49dafd0ae838f98fa6e656eb01bd1216f3e091128310b8d5ad081f5fce266e1dfdf1fe9991883116bc3b29b48828aebabd58481aa822715797c993f6f62e00 makefile.patch
|
|
"
|