summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorChristopher Najewicz <chief@beefdisciple.com>2018-10-12 10:03:00 -0400
committerChristopher Najewicz <chief@beefdisciple.com>2018-10-12 10:03:00 -0400
commit16c469d714ee8b38f605afd353e4e95d0be87085 (patch)
treeb66478162904d833c202cd6befbe56b4f066094b /build
parent32e257dc1c6b1e7db778e184d617bf9128f04990 (diff)
Work-in-progress adding nfpm
Diffstat (limited to 'build')
-rw-r--r--build/nfpm.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/nfpm.yaml b/build/nfpm.yaml
new file mode 100644
index 0000000..1480108
--- /dev/null
+++ b/build/nfpm.yaml
@@ -0,0 +1,24 @@
+name: "gotop"
+arch: "amd64"
+platform: "linux"
+version: "v${VERSION}"
+section: "default"
+priority: "extra"
+maintainer: "Caleb Bassi <calebjbassi@gmail.com>"
+description: |
+ A terminal based graphical activity monitor inspired by gtop and vtop
+vendor: "Caleb Bassi"
+homepage: "https://github.com/cjbassi/gotop"
+license: "GNU Affero General Public License v3.0"
+bindir: "/usr/local/bin"
+files:
+ ./gotop: "/usr/local/bin/gotop"
+overrides:
+ rpm:
+ scripts:
+ preinstall: ./scripts/preinstall.sh
+ postremove: ./scripts/postremove.sh
+ deb:
+ scripts:
+ postinstall: ./scripts/postinstall.sh
+ preremove: ./scripts/preremove.sh