name: "foo"
arch: "${BUILD_ARCH}"
platform: "linux"
version: "v2.0.0"
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/whatever2.conf
    dst: /etc/regular.conf
    type: config
  - src: ./testdata/whatever2.conf
    dst: /etc/noreplace.conf
    type: config|noreplace
  - dst: /var/log/whatever
    type: dir
  - dst: /usr/share/foo
    type: dir
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
apk:
  scripts:
    preupgrade: ./testdata/acceptance/scripts/preupgrade.sh
    postupgrade: ./testdata/acceptance/scripts/postupgrade.sh
archlinux:
  scripts:
    preupgrade: ./testdata/acceptance/scripts/preupgrade.sh
    postupgrade: ./testdata/acceptance/scripts/postupgrade.sh