Skip to content

Commit

Permalink
Merge branch 'main' into refactor-URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg authored Dec 10, 2024
2 parents fa28cc7 + c9dac70 commit 8bdb871
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 01-main/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ google-chrome-stable
google-chrome-unstable
google-cloud-cli
google-earth-pro-stable
goreleaser
goreleaser-pro
gpu-viewer
grub-customizer
grype
Expand Down
10 changes: 10 additions & 0 deletions 01-main/packages/goreleaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DEFVER=1
ARCHS_SUPPORTED="amd64 arm64 armhf i386"
get_github_releases "goreleaser/goreleaser" "latest"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep -m 1 "browser_download_url.*${HOST_ARCH}\.deb\"" "${CACHE_FILE}" | cut -d'"' -f4)
VERSION_PUBLISHED=$(cut -d'/' -f8 <<<"${URL}" | sed 's|v||')
fi
PRETTY_NAME="Goreleaser"
WEBSITE="https://goreleaser.com"
SUMMARY="Deliver Go binaries as fast, easily as possible."
10 changes: 10 additions & 0 deletions 01-main/packages/goreleaser-pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DEFVER=1
ARCHS_SUPPORTED="amd64 arm64 armhf i386"
get_github_releases "goreleaser/goreleaser-pro" "latest"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep -m 1 "browser_download_url.*${HOST_ARCH}\.deb\"" "${CACHE_FILE}" | cut -d'"' -f4)
VERSION_PUBLISHED=$(cut -d'/' -f8 <<<"${URL}" | sed 's|v||')
fi
PRETTY_NAME="Goreleaser Pro"
WEBSITE="https://goreleaser.com/pro"
SUMMARY="Deliver Go binaries as fast, easily and as pro as possible."
2 changes: 1 addition & 1 deletion 01-main/packages/master-pdf-editor-5
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DEFVER=1
CODENAMES_SUPPORTED="bionic bullseye buster focal jammy"
CODENAMES_SUPPORTED="bionic bullseye buster focal jammy noble"
get_website "https://code-industry.net/get-master-pdf-editor-for-ubuntu/?download"
if [ "${ACTION}" != "prettylist" ]; then
URL=$( grep 'document\.location' "${CACHE_FILE}" | grep -Eo "https://code-industry.net/public/.*\.deb" )
Expand Down
2 changes: 1 addition & 1 deletion 01-main/packages/nordvpn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DEFVER=1
ARCHS_SUPPORTED="amd64 arm64 armhf"
get_website "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/"
get_website "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/"
if [ "${ACTION}" != "prettylist" ]; then
VERSION_PUBLISHED=$(sed -e 's/<[^>]*>//g' "${CACHE_FILE}" | sed '/^[[:space:]]*$/d' | grep -m 1 "${HOST_ARCH}" | sort -r | awk '{print $1}' | cut -d'_' -f2)
URL="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${VERSION_PUBLISHED}_${HOST_ARCH}.deb"
Expand Down
17 changes: 17 additions & 0 deletions 01-main/packages/prospect-mail
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
DEFVER=1
ARCHS_SUPPORTED="amd64 arm64 armhf"
get_github_releases "julian-alarcon/prospect-mail" "latest"
if [ "${ACTION}" != "prettylist" ]; then
case ${HOST_ARCH} in
armhf)
URL=$(grep "browser_download_url.*${HOST_CPU}\.deb\"" "${CACHE_FILE}" | head -n1 | cut -d'"' -f4)
;;
*)
URL=$(grep "browser_download_url.*${HOST_ARCH}\.deb\"" "${CACHE_FILE}" | head -n1 | cut -d'"' -f4)
;;
esac
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'_' -f2)"
fi
PRETTY_NAME="Prospect Mail"
WEBSITE="https://github.com/julian-alarcon/prospect-mail"
SUMMARY="Unofficial email Outlook client using Electron"
13 changes: 13 additions & 0 deletions 01-main/packages/tribler
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
DEFVER=1
ARCHS_SUPPORTED="amd64 arm64"
ARCH="${HOST_ARCH}"
case "${ARCH}" in
arm64|aarch64)
ARCH=aarch64
;;
amd64|x86_64)
ARCH=x64
;;
*)
printf "Unsupported HOST_ARCH: '%s'\n" "${ARCH}"
;;
esac
get_github_releases "Tribler/tribler" "latest"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep -m 1 "browser_download_url.*_all\.deb\"" "${CACHE_FILE}" | cut -d'"' -f4)
Expand Down

0 comments on commit 8bdb871

Please sign in to comment.