mirror of
https://github.com/goreleaser/nfpm
synced 2024-04-30 07:55:09 +02:00
38 lines
791 B
YAML
38 lines
791 B
YAML
name: "foo"
|
|
arch: "${BUILD_ARCH}"
|
|
platform: "linux"
|
|
version: "v1.2.3-beta"
|
|
maintainer: "Foo Bar"
|
|
depends:
|
|
- bash
|
|
provides:
|
|
- fake
|
|
recommends:
|
|
- fish
|
|
replaces:
|
|
- foo
|
|
suggests:
|
|
- zsh
|
|
description: |
|
|
Foo bar
|
|
Multiple lines
|
|
vendor: "foobar"
|
|
homepage: "https://foobar.org"
|
|
license: "MIT"
|
|
contents:
|
|
- src: ./testdata/fake
|
|
dst: /usr/local/bin/fake
|
|
- src: ./testdata/acceptance/folder/*
|
|
dst: /usr/share/whatever/folder/
|
|
- src: ./testdata/whatever.conf
|
|
dst: /etc/foo/whatever.conf
|
|
type: config
|
|
empty_folders:
|
|
- /var/log/whatever
|
|
- /usr/share/foo
|
|
scripts:
|
|
preinstall: ./testdata/acceptance/scripts/preinstall.sh
|
|
postinstall: ./testdata/acceptance/scripts/postinstall.sh
|
|
preremove: ./testdata/acceptance/scripts/preremove.sh
|
|
postremove: ./testdata/acceptance/scripts/postremove.sh
|