# -*- 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/trustpilot/pagerduty-notifier 20220610-1540
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball

description         PagerDuty native macOS notifications

long_description    PagerDuty Notifier polls the PagerDuty API for new \
                    incidents and sends native macOS notifications. You can \
                    control the notification style as you normally would in \
                    System Preferences.

categories          sysutils
license             MIT

maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

installs_libs       no

build.cmd           make
build.target        build
build.env-append    GO111MODULE=off \
                    GOPROXY=off
destroot {
    file copy ${worksrcpath}/dist/PagerdutyNotifier.app \
        ${destroot}${applications_dir}/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  41c9b2327463f4c5981cc1b20edbfa4ef9820099 \
                        sha256  38f7990da6179d9afc7a94ccfbd43e5ec8e5ad62fc7c51c745c9f5e43ad7236a \
                        size    210693

go.vendors          golang.org/x/xerrors \
                        lock    9bdfabe68543 \
                        rmd160  eee9929ac1c0380402c45b388077c5c505f13311 \
                        sha256  dc1be1d7efb43643507e87352ae7161883c48cb5116a20a1739ab93ab558bccf \
                        size    13661 \
                    github.com/stretchr/testify \
                        lock    v1.2.2 \
                        rmd160  45703d5a082af570664fb80e99918077596349aa \
                        sha256  ea0e76528dc47d7d84739cd8a8c7560e3f12d4ff490bdd2641a9990a168e6f2f \
                        size    101747 \
                    github.com/shurcooL/trayhost \
                        lock    114974ef9e16 \
                        rmd160  2af93fa7d585b850a0baef716bedbd6388364d5c \
                        sha256  06949cdf53a27442c8f8d4be01aae684abd48e07383077642a08f1792a58bf9d \
                        size    12329 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/google/go-querystring \
                        lock    v1.1.0 \
                        rmd160  d74c139ec42fee88039b05bd10924f560467fac7 \
                        sha256  95f52c816370b06a38bb827367c1acb5b1a0aa2e8d425f94ce2d32afe0c57510 \
                        size    10418 \
                    github.com/google/go-cmp \
                        lock    v0.5.6 \
                        rmd160  b93086d92bddc7a3b593fb637776f055c022049f \
                        sha256  fa1ca0f00fe02f645c4ed12ef753ff6c46b6621db01e09d96599cf1fd990aebe \
                        size    104422 \
                    github.com/go-ini/ini \
                        lock    v1.66.4 \
                        rmd160  a03f51c928405d6f87ee1b853f1079eee7c9daac \
                        sha256  1db7c426199e23a2980bbc1dd62b25f1fe494484d716111f9559c11210eaafb1 \
                        size    53336 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/PagerDuty/go-pagerduty \
                        lock    v1.5.0 \
                        rmd160  99165ae78ad6872a08f9b36878b9ad7b11a862a8 \
                        sha256  31849af17cc8e453a293756217fb0f0f7d8a0bb0d6373d5037f67aef9ac26f12 \
                        size    97096
