# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/turbot/steampipe 2.3.2 v
go.offline_build    no
revision            0

homepage            https://steampipe.io

description         \
    Use SQL to instantly query your cloud services (AWS, Azure, GCP and more).

long_description    \
    Steampipe is the universal interface to APIs. Use SQL to query cloud \
    infrastructure, SaaS, code, logs, and more.

categories          net sysutils
installs_libs       no
license             AGPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  a30bf7d823b830501854245ed3725ab74d0d4a52 \
                    sha256  abe43a3dd5400fbb23373314cad1bda2f6da0ae5132f261e5260f4dee4eb8970 \
                    size    493147

build.args          -ldflags '-X main.version=${version}'

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}

github.livecheck.regex \
                    {([0-9.]+)}
