#!/SBUILD _disabled: false pkg: "playerctl" pkg_id: "pkgforge-dev.playerctl" pkg_type: "appimage" ghcr_pkg: "pkgforge-dev/playerctl" category: - "Audio" - "Utility" description: "Command-line utility for controlling media players" homepage: - "https://github.com/altdesktop/playerctl" maintainer: - "Samueru-sama (github.com/Samueru-sama)" license: - "LGPL-3.0" build_asset: - url: "https://raw.githubusercontent.com/altdesktop/playerctl/master/COPYING" out: "LICENSE" note: - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/pkgforge-dev/playerctl-AppImage" - "[PORTABLE] (Works on AnyLinux)" provides: - "playerctl" repology: - "playerctl" src_url: - "https://github.com/pkgforge-dev/playerctl-AppImage" tag: - "audio" - "media" - "control" x_exec: host: - "x86_64-linux" shell: "sh" pkgver: | VERSION=$(curl -qfsSL "https://api.github.com/repos/pkgforge-dev/playerctl-AppImage/releases/latest?per_page=20" | jq -r '( .tag_name + "-" + (.published_at | split("T")[0]))') echo "$VERSION" run: | soar dl "https://github.com/pkgforge-dev/playerctl-AppImage@${REMOTE_PKGVER%%-*}" --glob "*${ARCH}*.appimage" -o "./${PKG}" --yes