#!/bin/mkpkg
# description: Converts markdown into roff (man pages)
# url: https://github.com/cpuguy83/go-md2man

name=go-md2man
version=2.0.6
release=1
depends=()
makedeps=(go)
source=(https://github.com/cpuguy83/go-md2man/archive/refs/tags/v$version.tar.gz)
renames=($name-$version.tar.gz)
sha256sums=(
    "5fa29154237bc840a10a06231c066f9ddbe06bb31d1c3372eab12e1ed977271f"
)

build() {
    cd go-md2man-$version
    export GOPATH="$SRC/go"
    go build -trimpath -o go-md2man .
    install -Dm755 go-md2man $PKG/usr/bin/go-md2man
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh
