summaryrefslogtreecommitdiffstats
path: root/go-md2man/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'go-md2man/MAKEPKG')
-rw-r--r--go-md2man/MAKEPKG28
1 files changed, 28 insertions, 0 deletions
diff --git a/go-md2man/MAKEPKG b/go-md2man/MAKEPKG
new file mode 100644
index 0000000..3454d16
--- /dev/null
+++ b/go-md2man/MAKEPKG
@@ -0,0 +1,28 @@
1#!/bin/mkpkg
2# description: Converts markdown into roff (man pages)
3# url: https://github.com/cpuguy83/go-md2man
4
5name=go-md2man
6version=2.0.6
7release=1
8depends=()
9makedeps=(go)
10source=(https://github.com/cpuguy83/go-md2man/archive/refs/tags/v$version.tar.gz)
11renames=($name-$version.tar.gz)
12sha256sums=(
13 "5fa29154237bc840a10a06231c066f9ddbe06bb31d1c3372eab12e1ed977271f"
14)
15
16build() {
17 cd go-md2man-$version
18 export GOPATH="$SRC/go"
19 go build -trimpath -o go-md2man .
20 install -Dm755 go-md2man $PKG/usr/bin/go-md2man
21}
22
23signify() {
24 untrusted comment: public key
25 RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
26}
27
28# vim: filetype=sh