# -*- 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.4.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  dcab2c5aa6ff3732aa4b47b95ab466c62fe5d34d \
                    sha256  dcbde3f1fa438bf0640b4ce71c6a34bdb889a4080945a428f3804136b091ff0d \
                    size    592704

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

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

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