Update nfpm config for nfpm v2

This commit is contained in:
kolaente 2020-12-23 20:51:37 +01:00
parent d6cb4f94f6
commit be7b53b9bc
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -7,12 +7,15 @@ maintainer: "Vikunja Maintainers <maintainers@vikunja.io>"
homepage: "https://vikunja.io"
section: "default"
priority: "extra"
license: "GPLv3"
files:
<binlocation>: /opt/vikunja/vikunja
config_files:
./config.yml.sample: /etc/vikunja/config.yml
symlinks:
/opt/vikunja/vikunja: /usr/local/bin/vikunja
license: "AGPLv3"
contents:
- src: <binlocation>
dst: /opt/vikunja/vikunja
- src: ./config.yml.sample
dst: /etc/vikunja/config.yml
type: "config"
- src: /opt/vikunja/vikunja
dst: /usr/local/bin/vikunja
type: "symlink"
scripts:
postinstall: ./build/after-install.sh