Skip to content

Commit

Permalink
feat: enable debian support for foliate
Browse files Browse the repository at this point in the history
Co-authored-by: silentJET85  <[email protected]>
  • Loading branch information
philclifford and silentJET85 committed Jan 24, 2025
1 parent 0c93705 commit e058572
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions 01-main/packages/foliate
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
DEFVER=2
CODENAMES_SUPPORTED="trixie sid noble oracular"
CODENAMES_SUPPORTED="trixie sid focal jammy noble oracular"
ARCHS_SUPPORTED="amd64 arm64 armhf"
get_github_releases "johnfactotum/foliate"
if [ "${ACTION}" != prettylist ]; then
URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d '"' -f 4)"
VERSION_PUBLISHED="$(cut -d '_' -f 2 <<< "${URL}")"
fi

case ${UPSTREAM_ID} in
ubuntu)
PPA="ppa:apandada1/foliate"
debian)
get_github_releases "johnfactotum/foliate"
if [ "${ACTION}" != prettylist ]; then
URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d '"' -f 4)"
VERSION_PUBLISHED="$(cut -d '_' -f 2 <<< "${URL}")"
fi
;;
esac


PRETTY_NAME="Foliate"
WEBSITE="https://johnfactotum.github.io/foliate/"
SUMMARY="A simple and modern eBook viewer for Linux desktops."

0 comments on commit e058572

Please sign in to comment.