# -*- 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            codeberg.org/kevinschoon/pomo 0.8.2
go.offline_build    no
revision            0

description         Pomodoro CLI

long_description    ${name} is a simple CLI for using the Pomodoro Technique. \
                    There are some amazing task management systems but \
                    ${name} is more of a task execution or timeboxing system. \
                    ${name} helps you track what you did, how long it took \
                    you to do it, and how much effort you expect it to take.

categories          office
installs_libs       no
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
license             MIT

build.pre_args-append \
    -ldflags \"-X ${go.package}/pkg/internal.Version=${version}\"
build.args          ./cmd/${name}

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

checksums           ${distname}${extract.suffix} \
                        rmd160  1a50be7d01137481275b4cc3becfbd73e59730b7 \
                        sha256  3dee8d17033d1d888878d3bd4b93cb9ccac83c4420ddbe05e2cea13271584c3d \
                        size    2234047
