-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathgo-md2man.yaml
45 lines (38 loc) · 969 Bytes
/
go-md2man.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package:
name: go-md2man
version: 2.0.3
epoch: 1
description: Utility to convert markdown to man pages
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: fetch
with:
expected-sha256: 7ca3a04bb4ab83387538235decc42a535097a05d2fb9f2266d0c47b33119501f
uri: https://github.com/cpuguy83/go-md2man/archive/v${{package.version}}.tar.gz
- uses: go/build
with:
packages: .
output: go-md2man
ldflags: -s -w
- runs: |
${{targets.destdir}}/usr/bin/go-md2man -in go-md2man.1.md -out go-md2man.1
install -Dm644 go-md2man.1 "${{targets.destdir}}"/usr/share/man/man1/go-md2man.1
- uses: strip
subpackages:
- name: go-md2man-doc
pipeline:
- uses: split/manpages
description: go-md2man manpages
update:
enabled: true
github:
identifier: cpuguy83/go-md2man
strip-prefix: v