Add nfpm config

This commit is contained in:
kolaente 2020-10-18 12:20:27 +02:00
parent ce16416726
commit 4a8c782f6f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,4 @@
#!/bin/bash
ln -s /opt/vikunja/vikunja /usr/bin/vikunja
# Fix the config to contain proper values
NEW_SECRET=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)

17
nfpm.yaml Normal file
View File

@ -0,0 +1,17 @@
name: "vikunja"
arch: "amd64"
platform: "linux"
version: "0.15.0"
description: "Vikunja is an open-source todo application, written in Go. It lets you create lists,tasks and share them via teams or directly between users."
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
postinstall: ./build/after-install.sh