github.com/goreleaser/nfpm/v2@v2.44.0/testdata/acceptance/core.overrides.yaml (about) 1 name: "foo" 2 arch: "${BUILD_ARCH}" 3 platform: "linux" 4 version: "v1.2.3-beta" 5 maintainer: "Foo Bar" 6 depends: 7 - bash 8 provides: 9 - fake 10 replaces: 11 - foo 12 suggests: 13 - zsh 14 description: | 15 Foo bar 16 Multiple lines 17 vendor: "foobar" 18 homepage: "https://foobar.org" 19 license: "MIT" 20 contents: 21 - src: ./testdata/fake 22 dst: /usr/bin/fake 23 - src: ./testdata/acceptance/folder/* 24 dst: /usr/share/whatever/folder 25 - src: ./testdata/whatever.conf 26 dst: /etc/foo/whatever.conf 27 type: config 28 overrides: 29 rpm: 30 depends: 31 - (bash >= 4.4 or fish) 32 scripts: 33 preinstall: ./testdata/acceptance/scripts/preinstall.sh 34 postremove: ./testdata/acceptance/scripts/postremove.sh 35 deb: 36 depends: 37 - bash (>= 4.4) | fish 38 scripts: 39 postinstall: ./testdata/acceptance/scripts/postinstall.sh 40 preremove: ./testdata/acceptance/scripts/preremove.sh 41 apk: 42 depends: 43 - bash 44 - fish 45 scripts: 46 postinstall: ./testdata/acceptance/scripts/postinstall.sh 47 preremove: ./testdata/acceptance/scripts/preremove.sh 48 archlinux: 49 scripts: 50 postinstall: ./testdata/acceptance/scripts/postinstall.sh 51 preremove: ./testdata/acceptance/scripts/preremove.sh 52 ipk: 53 depends: 54 - bash 55 - fish 56 scripts: 57 postinstall: ./testdata/acceptance/scripts/postinstall.sh 58 preremove: ./testdata/acceptance/scripts/preremove.sh