. "${GRIMOIRE}/FUNCTIONS"
. "${GRIMOIRE}/MESON_FUNCTIONS"
           SPELL=flatpak
if [[ "${FLATPAK_BRANCH}" == pre-release ]]; then
         VERSION=1.17.6
     SOURCE_HASH="sha256:a58cced5c468792c1e77847159e687d3f7bede8c2d4483f1f3ef1229d52553b2:UPSTREAM_HASH"
else
         VERSION=1.16.6
     SOURCE_HASH="sha256:1e63e7f3fe44b602f34d92a6fe46fd8a3bc6be9460c03c2681e57976c658eec3:UPSTREAM_HASH"
fi
  SECURITY_PATCH=4
          SOURCE=$SPELL-$VERSION.tar.xz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
   SOURCE_URL[0]=https://www.github.com/$SPELL/$SPELL/releases/download/$VERSION/$SOURCE
# Watch: https://github.com/flatpak/flatpak/tags tags/([0-9.]+)[.]tar
        WEB_SITE=https://www.flatpak.org
         ENTERED=20221120
         LICENSE=LGPL
        KEYWORDS="flatpak sandbox"
           SHORT="Linux application sandboxing and distribution framework"
cat << EOF
Flatpak, formerly known as xdg-app,  is a utility for software deployment
and package management for Linux. It is advertised as offering
a sandbox environment in which users can run application software
in isolation from the rest of the system.
EOF
