Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: move battery-monitor from PPA to github #1148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions 01-main/packages/battery-monitor
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
DEFVER=1
DEFVER=2
CODENAMES_SUPPORTED="bookworm bullseye buster trixie sid focal jammy kinetic lunar mantic noble"
APT_LIST_NAME="apps.mamolinux.org"
PPA="ppa:mamolinux/gui-apps"
get_github_releases "mamolinux/battery-monitor" "latest"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep "browser_download_url.*\.deb\"" "${CACHE_FILE}" | head -n1 | cut -d'"' -f4)
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | tr -d v)"
fi
PRETTY_NAME="Battery Monitor"
WEBSITE="https://hsbasu.github.io/battery-monitor/"
SUMMARY="An X-platform utility tool developed on Python, notifies about charging, discharging, and critically low battery state of the battery on laptop."