# -*- 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.1.0 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  11aaa5700661018b99043948345fda31c2df0864 \
                    sha256  e6c364e3fa5d537fd274e6c87bd249413ad77f3e97fda51eef13e160c5416af4 \
                    size    489142

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

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

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