[source]
git = "https://github.com/jackpot51/pixelcannon.git"

[build]
template = "custom"
script = """
cookbook_cargo

mkdir -pv "${COOKBOOK_STAGE}/usr/games/pixelcannon"
cp -Rv "${COOKBOOK_SOURCE}/assets" "${COOKBOOK_STAGE}/usr/games/pixelcannon"
mv "${COOKBOOK_STAGE}/usr/bin/pixelcannon" "${COOKBOOK_STAGE}/usr/games/pixelcannon"

mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps"
cp -v "${COOKBOOK_SOURCE}/manifest" "${COOKBOOK_STAGE}/usr/share/ui/apps/pixelcannon"
"""

[package]
dependencies = [
    "orbital",
]
