# -*- 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/gopasspw/gopass-summon-provider 1.15.9 v
go.offline_build    no
github.tarball_from archive
revision            0
categories          devel
maintainers         {@0x1DA117 danieltrautmann.com:me} \
                    {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
license             MIT

description         Gopass Summon Provider

long_description    Use gopass as secret provider for summon.

checksums           rmd160  26a1f9f66f536e5e65e4553a272e140cc913907e \
                    sha256  aad6eb6727fd6f6aec35262eb982c5c877fd94bd73bc28936afb442f3160bbd3 \
                    size    20748

build.args          -o ${worksrcpath}/${name} \
                    -trimpath \
                    -ldflags \" \
                        -s \
                        -w \
                        -X main.version=${version} \
                    \" \
                    -gcflags \" \
                        -trimpath=${gopath} \
                    \" \
                    -asmflags \" \
                        -trimpath=${gopath} \
                    \"

build.env-append    CGO_ENABLED=0

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