-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
template
32 lines (29 loc) · 1 KB
/
template
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
# Template file for 'sq'
pkgname=sq
version=0.48.3
revision=2
build_style=go
go_import_path="github.com/neilotoole/sq"
go_ldflags="-X ${go_import_path}/cli/buildinfo.Version=v${version}"
go_build_tags="libsqlite3"
makedepends="sqlite-devel"
short_desc="CLI tool that provides jq-style access to structured data sources"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://sq.io"
changelog="https://raw.githubusercontent.com/neilotoole/sq/master/CHANGELOG.md"
distfiles="https://github.com/neilotoole/sq/archive/refs/tags/v${version}.tar.gz
https://github.com/neilotoole/sq/releases/download/v${version}/sq-${version}-amd64-amd64.tar.gz"
checksum="46e75e2db83a6cbc98b07dbcfb23de03fc41b2b2cbc7de7aaee0425cef4fb9bb
41bfa4e9691914cd9d91b621bb12eabb744d0e3139c53152407475a1f5281e4b"
conflicts="squirrel sequoia-sq"
post_extract() {
mv sq-${version}/* .
}
post_install() {
for shell in bash fish zsh; do
vcompletion "completions/sq.${shell}" "${shell}"
done
vman manpages/sq.1.gz
vlicense LICENSE
}