mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
31 lines
953 B
Text
31 lines
953 B
Text
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer: Grigory Kirillov <txgk@bk.ru>
|
|
pkgname=csvq
|
|
pkgver=1.17.11
|
|
pkgrel=3
|
|
pkgdesc="SQL-like query language for csv format"
|
|
url="https://github.com/mithrandie/csvq"
|
|
arch="all"
|
|
license="MIT"
|
|
options="!check" # no test suite
|
|
makedepends="go"
|
|
source="https://github.com/mithrandie/csvq/archive/v$pkgver/csvq-v$pkgver.tar.gz
|
|
no-ldflags.patch
|
|
"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
make VERSION=$pkgver build
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 build/bin/csvq -t "$pkgdir"/usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
32665aa694d56fee82f565d5d892258ce2624dbc3e6e629bb92ca478f6c6eb1d376a7ffcfc0407787c9b88ad8c1993519bbb8aa4ce85331052260c7b535f3c3e csvq-v1.17.11.tar.gz
|
|
acd77fddfad54c4f226eb50c0e5db32ad413195f97575cb3e9de81559904d1ff3920ca244924e68c3783cef847fb68f7032a082ebef23b51572880f702ac168e no-ldflags.patch
|
|
"
|