blob: 3454d16a7306fd7895efd4cb587c7805f625d33b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/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
|