#TODO not compiled or tested
[source]
git = "https://github.com/mfat/sshpilot"
rev = "v4.3.8"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin/ssh-pilot-dir
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/usr/bin/ssh-pilot-dir"
echo "python3 /usr/bin/ssh-pilot-dir/run.py" > "${COOKBOOK_STAGE}"/usr/bin/ssh-pilot
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/ssh-pilot
"""
[package]
dependencies = [
    "gtk4",
    "libadwaita",
]
