mirror of
https://github.com/goreleaser/nfpm
synced 2024-06-03 07:36:18 +02:00
33 lines
746 B
YAML
33 lines
746 B
YAML
|
name: "foo"
|
||
|
arch: "amd64"
|
||
|
platform: "linux"
|
||
|
version: "${SEMVER}"
|
||
|
maintainer: "Foo Bar"
|
||
|
depends:
|
||
|
- bash
|
||
|
provides:
|
||
|
- fake
|
||
|
replaces:
|
||
|
- foo
|
||
|
suggests:
|
||
|
- zsh
|
||
|
description: |
|
||
|
Foo bar
|
||
|
Multiple lines
|
||
|
vendor: "foobar"
|
||
|
homepage: "https://foobar.org"
|
||
|
license: "MIT"
|
||
|
files:
|
||
|
./testdata/fake: "/usr/local/bin/fake"
|
||
|
./testdata/acceptance/folder/**/*: "/usr/share/whatever/folder/"
|
||
|
config_files:
|
||
|
./testdata/whatever.conf: "/etc/foo/whatever.conf"
|
||
|
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
|