summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2022-02-08 16:50:30 -0600
committerSean E. Russell <ser@ser1.net>2022-02-09 13:18:39 -0600
commit66047ad64cf9211da7940d3c73b5811766591124 (patch)
tree6e7366c0f74aed10006198f1619cd27457be6fed /build
parent7b8bf412b1c832ef5702c933ce21e03b8fad201a (diff)
Fixes #158, adding a man page. This replaces the flags library in the process. It also changes some of the new no- flags.
Diffstat (limited to 'build')
-rw-r--r--build/nfpm.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/build/nfpm.yml b/build/nfpm.yml
index 1457308..6829e43 100644
--- a/build/nfpm.yml
+++ b/build/nfpm.yml
@@ -1,5 +1,5 @@
name: gotop
-arch: amd64
+arch: ${GOARCH}
platform: linux
version: v${VERSION}
version_schema: semver
@@ -13,7 +13,7 @@ homepage: https://github.com/xxxserxxx/gotop
license: The MIT License (Festival variant)
contents:
# The executable
- - src: gotop
+ - src: ${EXECUTABLE}
dst: /usr/bin/gotop
# Default configuration
@@ -25,3 +25,7 @@ contents:
- src: layouts/htop
dst: /etc/gotop/htop
type: config|noreplace
+
+ # Manpage
+ - src: ${MANPAGE}
+ dst: /usr/share/man8/gotop.8.gz