Commit 0ca97ac7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: rearrange PKGURL using, replace epm tool eget with just eget

parent e25202ae
...@@ -9,7 +9,6 @@ TIPS="Run 'epm play 64gram=<version>' to install the version of the 64Gram Teleg ...@@ -9,7 +9,6 @@ TIPS="Run 'epm play 64gram=<version>' to install the version of the 64Gram Teleg
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(epm tool eget --list --latest https://github.com/TDesktop-x64/tdesktop/releases "${PKGNAME}_${VERSION}_linux.zip") #" PKGURL=$(eget --list --latest https://github.com/TDesktop-x64/tdesktop/releases ${PKGNAME}_${VERSION}_linux.zip) || fatal "Can't get package URL"
[ -n "$PKGURL" ] || fatal "Can't get package URL"
epm --install pack $PKGNAME "$PKGURL" epm --install pack $PKGNAME "$PKGURL"
...@@ -15,18 +15,17 @@ if ! is_command wine ; then ...@@ -15,18 +15,17 @@ if ! is_command wine ; then
fi fi
warn_version_is_not_supported warn_version_is_not_supported
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
case $pkgtype in case $pkgtype in
deb) deb)
epm install "https://www.aimp.ru/?do=download.file&id=26" PKGURL="https://www.aimp.ru/?do=download.file&id=26"
;;
rpm)
epm $repack install "https://www.aimp.ru/?do=download.file&id=32"
;; ;;
*) *)
fatal "Unsupported $pkgtype" PKGURL="https://www.aimp.ru/?do=download.file&id=32"
;; ;;
esac esac
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm $repack install "$PKGURL"
...@@ -41,7 +41,7 @@ PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch '' '_')" ...@@ -41,7 +41,7 @@ PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch '' '_')"
# lib.req: WARNING: /usr/bin/anydesk: library libpangox-1.0.so.0 not found # lib.req: WARNING: /usr/bin/anydesk: library libpangox-1.0.so.0 not found
#[ "$(epm print info -s)" = "alt" ] && PKGMASK="os-specific/rhel8/$(epm print constructname $PKGNAME "*" $arch)" #[ "$(epm print info -s)" = "alt" ] && PKGMASK="os-specific/rhel8/$(epm print constructname $PKGNAME "*" $arch)"
PKGURL="$(epm tool eget --list --latest https://download.anydesk.com/linux/ ./$PKGMASK)" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://download.anydesk.com/linux/ ./$PKGMASK)" || fatal "Can't get package URL"
epm $repack install "$PKGURL" || exit epm $repack install "$PKGURL" || exit
......
...@@ -20,7 +20,7 @@ URL="https://xn--80akicokc0aablc.xn--p1ai/%D1%81%D0%BA%D0%B0%D1%87%D0%B0%D1%82%D ...@@ -20,7 +20,7 @@ URL="https://xn--80akicokc0aablc.xn--p1ai/%D1%81%D0%BA%D0%B0%D1%87%D0%B0%D1%82%D
# parse vendor site # parse vendor site
tmpfile=$(mktemp) tmpfile=$(mktemp)
trap "rm -f $tmpfile" EXIT trap "rm -f $tmpfile" EXIT
epm tool eget -q -O- "$URL" | grep -A200 "Ассистент для LINUX" >$tmpfile eget -q -O- "$URL" | grep -A200 "Ассистент для LINUX" >$tmpfile
url_by_text() url_by_text()
{ {
......
...@@ -22,7 +22,7 @@ if [ "$VERSION" != "*" ] ; then ...@@ -22,7 +22,7 @@ if [ "$VERSION" != "*" ] ; then
[ "$PKGNAME" = "atom-beta" ] && VERSION="$VERSION-beta0" [ "$PKGNAME" = "atom-beta" ] && VERSION="$VERSION-beta0"
PKGURL="https://github.com/atom/atom/releases/download/v$VERSION/atom-$arch.$pkgtype" PKGURL="https://github.com/atom/atom/releases/download/v$VERSION/atom-$arch.$pkgtype"
else else
PKGURL=$(epm tool eget --list https://github.com/atom/atom/releases/ "atom-$arch.$pkgtype" | grep $notbeta -- "-beta" | head -n1) || fatal "Can't get package URL" PKGURL=$(eget --list https://github.com/atom/atom/releases/ "atom-$arch.$pkgtype" | grep $notbeta -- "-beta" | head -n1) || fatal "Can't get package URL"
fi fi
epm install "$PKGURL" epm install "$PKGURL"
...@@ -13,12 +13,12 @@ case $pkgtype in ...@@ -13,12 +13,12 @@ case $pkgtype in
rpm) rpm)
mask="balena-etcher-${VERSION}.x86_64.rpm" mask="balena-etcher-${VERSION}.x86_64.rpm"
;; ;;
deb) *)
mask="balena-etcher_${VERSION}_amd64.deb" mask="balena-etcher_${VERSION}_amd64.deb"
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://github.com/balena-io/etcher/releases $mask) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/balena-io/etcher/releases $mask) || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -15,7 +15,7 @@ case $pkgtype in ...@@ -15,7 +15,7 @@ case $pkgtype in
rpm) rpm)
PKGURL="https://dl.bitrix24.com/b24/bitrix24_desktop.rpm" PKGURL="https://dl.bitrix24.com/b24/bitrix24_desktop.rpm"
;; ;;
deb) *)
PKGURL="https://dl.bitrix24.com/b24/bitrix24_desktop.deb" PKGURL="https://dl.bitrix24.com/b24/bitrix24_desktop.deb"
;; ;;
esac esac
......
...@@ -21,7 +21,7 @@ esac ...@@ -21,7 +21,7 @@ esac
#https://github.com/bitwarden/clients/releases/download/desktop-v2023.4.0/Bitwarden-2023.4.0-amd64.deb #https://github.com/bitwarden/clients/releases/download/desktop-v2023.4.0/Bitwarden-2023.4.0-amd64.deb
#https://github.com/bitwarden/clients/releases/download/desktop-v2023.4.0/Bitwarden-2023.4.0-x86_64.rpm #https://github.com/bitwarden/clients/releases/download/desktop-v2023.4.0/Bitwarden-2023.4.0-x86_64.rpm
PKGURL=$(epm tool eget --list --latest https://github.com/bitwarden/clients/releases $(epm print constructname Bitwarden "$VERSION*" $arch $pkgtype "-" "-")) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/bitwarden/clients/releases $(epm print constructname Bitwarden "$VERSION*" $arch $pkgtype "-" "-")) || fatal "Can't get package URL"
# we have workaround for their postinstall script, so always repack rpm package # we have workaround for their postinstall script, so always repack rpm package
[ "$pkgtype" = "deb" ] || repack='--repack' [ "$pkgtype" = "deb" ] || repack='--repack'
......
...@@ -11,7 +11,7 @@ URL="https://www.bitwig.com" ...@@ -11,7 +11,7 @@ URL="https://www.bitwig.com"
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="https://www.bitwig.com/dl/?id=533&os=installer_linux" PKGURL="https://www.bitwig.com/dl/?id=533&os=installer_linux"
else else
PKGURL="https://downloads.bitwig.com/5.0.4/bitwig-studio-5.0.4.deb" PKGURL="https://downloads.bitwig.com/$VERSION/bitwig-studio-$VERSION.deb"
fi fi
epm install $PKGURL epm install $PKGURL
...@@ -24,14 +24,14 @@ repack='--repack' ...@@ -24,14 +24,14 @@ repack='--repack'
# hack to fix short name issue # hack to fix short name issue
[ "$VERSION" = "*" ] && VERSION="[[:digit:]]*" [ "$VERSION" = "*" ] && VERSION="[[:digit:]]*"
PKGURL=$(epm tool eget --list --latest https://github.com/brave/brave-browser/releases "$(epm print constructname $PKGNAME "$VERSION")") PKGURL=$(eget --list --latest https://github.com/brave/brave-browser/releases $(epm print constructname $PKGNAME "$VERSION"))
if [ -z "$PKGURL" ] ; then if [ -z "$PKGURL" ] ; then
# force use beta if can't get stable version # force use beta if can't get stable version
if [ "$PKGNAME" = "$BASEPKGNAME" ] ; then if [ "$PKGNAME" = "$BASEPKGNAME" ] ; then
TOREMOVEPKG=$PKGNAME TOREMOVEPKG=$PKGNAME
PKGNAME=$BASEPKGNAME-beta PKGNAME=$BASEPKGNAME-beta
PKGURL=$(epm tool eget --list --latest https://github.com/brave/brave-browser/releases "$(epm print constructname $PKGNAME "$VERSION")") PKGURL=$(eget --list --latest https://github.com/brave/brave-browser/releases "$(epm print constructname $PKGNAME "$VERSION")")
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
echo "Force switching from $TOREMOVEPKG to $PKGNAME ... " echo "Force switching from $TOREMOVEPKG to $PKGNAME ... "
......
...@@ -11,6 +11,6 @@ URL="https://github.com/lencx/ChatGPT" ...@@ -11,6 +11,6 @@ URL="https://github.com/lencx/ChatGPT"
is_openssl_enough 3 || fatal "There is no needed OpenSSL 3 in the system." is_openssl_enough 3 || fatal "There is no needed OpenSSL 3 in the system."
# https://github.com/lencx/ChatGPT/releases/download/v1.0.0/ChatGPT_1.0.0_linux_x86_64.deb # https://github.com/lencx/ChatGPT/releases/download/v1.0.0/ChatGPT_1.0.0_linux_x86_64.deb
PKGURL=$(epm tool eget --list --latest https://github.com/lencx/ChatGPT/releases/ "ChatGPT_${VERSION}_linux_x86_64.deb") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/lencx/ChatGPT/releases/ "ChatGPT_${VERSION}_linux_x86_64.deb") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -8,16 +8,16 @@ URL="https://www.google.com/chrome/" ...@@ -8,16 +8,16 @@ URL="https://www.google.com/chrome/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
_channel="stable"
#arch=$(epm print info --distro-arch)
#pkgtype=$(epm print info -p)
repack='' repack=''
arch=amd64
pkgtype=deb
# we have workaround for their postinstall script, so always repack rpm package # we have workaround for their postinstall script, so always repack rpm package
[ "$(epm print info -p)" = "deb" ] || repack='--repack' [ "$(epm print info -p)" = "deb" ] || repack='--repack'
PKG="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype" if [ "$VERSION" = "*" ] ; then
PKGURL="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype"
else
PKGURL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-${_channel}/google-chrome-${_channel}_${VERSION}-1_amd64.deb"
fi
epm install $repack "$PKG" epm install $repack "$PKGURL"
...@@ -14,6 +14,6 @@ DESCRIPTION="Chromium with GOST support from the official site" ...@@ -14,6 +14,6 @@ DESCRIPTION="Chromium with GOST support from the official site"
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
PKGURL=$(epm tool eget --list --latest https://github.com/deemru/chromium-gost/releases "chromium-gost-$VERSION-linux-$arch.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/deemru/chromium-gost/releases "chromium-gost-$VERSION-linux-$arch.$pkgtype") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -11,7 +11,7 @@ URL="https://clipgrab.org/" ...@@ -11,7 +11,7 @@ URL="https://clipgrab.org/"
if [ "$VERSION" != "*" ] ; then if [ "$VERSION" != "*" ] ; then
PKGURL="https://download.clipgrab.org/ClipGrab-$VERSION-x86_64.AppImage" PKGURL="https://download.clipgrab.org/ClipGrab-$VERSION-x86_64.AppImage"
else else
PKGURL="$(eget --list --latest https://clipgrab.org/ "ClipGrab-*-x86_64.AppImage")" PKGURL="$(eget --list --latest https://clipgrab.org/ "ClipGrab-*-x86_64.AppImage")" || fatal "Can't get package URL"
fi fi
epm install $PKGURL epm install $PKGURL
...@@ -30,7 +30,7 @@ case "$arch-$pkgtype" in ...@@ -30,7 +30,7 @@ case "$arch-$pkgtype" in
esac esac
PKGURL=$(epm tool eget --list --latest https://github.com/VSCodium/vscodium/releases $(epm print constructname $PKGNAME "$VERSION*" $arch $pkgtype)) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/VSCodium/vscodium/releases $(epm print constructname $PKGNAME "$VERSION*" $arch $pkgtype)) || fatal "Can't get package URL"
# we have workaround for their postinstall script, so always repack rpm package # we have workaround for their postinstall script, so always repack rpm package
[ "$pkgtype" = "deb" ] || repack='--repack' [ "$pkgtype" = "deb" ] || repack='--repack'
......
...@@ -9,7 +9,8 @@ URL="https://www.commfort.com/ru/article-commfort-linux.shtml" ...@@ -9,7 +9,8 @@ URL="https://www.commfort.com/ru/article-commfort-linux.shtml"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
VERSION="$(epm tool eget -O- https://www.commfort.com/ru/download.shtml | grep "Версия .* от .* г." | head -n2 | tail -n1 | sed -e 's|.*Версия ||' -e 's| от .*||')"
VERSION="$(eget -O- https://www.commfort.com/ru/download.shtml | grep "Версия .* от .* г." | head -n2 | tail -n1 | sed -e 's|.*Версия ||' -e 's| от .*||')"
[ -n "$VERSION" ] || fatal "Can't get version." [ -n "$VERSION" ] || fatal "Can't get version."
# TODO: check: https://www.commfort.com/download/commfort_client.msi # TODO: check: https://www.commfort.com/download/commfort_client.msi
......
...@@ -17,7 +17,7 @@ get_jetbrains_url() ...@@ -17,7 +17,7 @@ get_jetbrains_url()
;; ;;
esac esac
epm tool eget -O- "https://data.services.jetbrains.com/products/releases?code=$CODE&latest=true&type=release" | epm --inscript tool json -b | \ eget -O- "https://data.services.jetbrains.com/products/releases?code=$CODE&latest=true&type=release" | epm --inscript tool json -b | \
grep '"'$CODE'",0,"downloads","'$OS'","link"' | sed -e 's|.*[[:space:]]||' | sed -e 's|"||g' grep '"'$CODE'",0,"downloads","'$OS'","link"' | sed -e 's|.*[[:space:]]||' | sed -e 's|"||g'
} }
......
...@@ -22,5 +22,5 @@ esac ...@@ -22,5 +22,5 @@ esac
#pkgtype="$(epm print info -p)" #pkgtype="$(epm print info -p)"
PKGURL="$(eget --list --latest https://cuda-z.sourceforge.net/ "$file" )" PKGURL="$(eget --list --latest https://cuda-z.sourceforge.net/ "$file" )" || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" epm pack --install $PKGNAME "$PKGURL"
...@@ -7,11 +7,11 @@ DESCRIPTION="Discord from the official site" ...@@ -7,11 +7,11 @@ DESCRIPTION="Discord from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
if [ "$VERSION" != "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="https://dl.discordapp.net/apps/linux/$VERSION/discord-$VERSION.deb"
else
# workaround against curl can't get filename: https://github.com/curl/curl/issues/8461 # workaround against curl can't get filename: https://github.com/curl/curl/issues/8461
PKGURL="$(eget --get-real-url "https://discord.com/api/download?platform=linux&format=deb")" PKGURL="$(eget --get-real-url "https://discord.com/api/download?platform=linux&format=deb")" || fatal "Can't get package URL"
else
PKGURL="https://dl.discordapp.net/apps/linux/$VERSION/discord-$VERSION.deb"
fi fi
epm install "$PKGURL" epm install "$PKGURL"
...@@ -12,14 +12,14 @@ case $pkgtype in ...@@ -12,14 +12,14 @@ case $pkgtype in
rpm) rpm)
mask="DJV2-${VERSION}.x86_64.rpm" mask="DJV2-${VERSION}.x86_64.rpm"
;; ;;
deb) *)
mask="DJV2_${VERSION}_amd64.deb" mask="DJV2_${VERSION}_amd64.deb"
;; ;;
esac esac
arch=amd64 arch=amd64
PKGURL=$(epm tool eget --list --latest https://github.com/darbyjohnston/DJV/releases $mask) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/darbyjohnston/DJV/releases $mask) || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -15,7 +15,7 @@ case $pkgtype in ...@@ -15,7 +15,7 @@ case $pkgtype in
rpm) rpm)
PKGURL="https://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-x86_64.rpm" PKGURL="https://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-x86_64.rpm"
;; ;;
deb) *)
PKGURL="https://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-amd64.deb" PKGURL="https://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-amd64.deb"
;; ;;
esac esac
......
...@@ -10,6 +10,6 @@ DESCRIPTION="diagrams.net desktop" ...@@ -10,6 +10,6 @@ DESCRIPTION="diagrams.net desktop"
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
PKGURL=$(epm tool eget --list --latest https://github.com/jgraph/drawio-desktop/releases "drawio-$arch-$VERSION.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/jgraph/drawio-desktop/releases "drawio-$arch-$VERSION.$pkgtype") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -15,6 +15,6 @@ file="DuckStation-x64.AppImage" ...@@ -15,6 +15,6 @@ file="DuckStation-x64.AppImage"
# TODO: preview, previous-latest # TODO: preview, previous-latest
SELECTOR="preview" SELECTOR="preview"
PKGURL=$(epm tool eget --list https://github.com/stenzek/duckstation/releases $file | grep "/$SELECTOR/") || fatal "Can't get package URL" PKGURL=$(eget --list https://github.com/stenzek/duckstation/releases $file | grep "/$SELECTOR/") || fatal "Can't get package URL"
epm pack --install "$PKGNAME" "$PKGURL" epm pack --install "$PKGNAME" "$PKGURL"
...@@ -15,7 +15,7 @@ pkgtype="$(epm print info -p)" ...@@ -15,7 +15,7 @@ pkgtype="$(epm print info -p)"
# we have workaround for their postinstall script, so always repack rpm package # we have workaround for their postinstall script, so always repack rpm package
[ "$pkgtype" = "deb" ] || repack='--repack' [ "$pkgtype" = "deb" ] || repack='--repack'
#PKG=$(epm tool eget --list --latest https://www.duplicati.com/download "duplicati-*$pkgtype") || fatal "Can't get package URL" #PKG=$(eget --list --latest https://www.duplicati.com/download "duplicati-*$pkgtype") || fatal "Can't get package URL"
PKG=$(epm tool eget -O /dev/stdout https://updates.duplicati.com/beta/latest-installers.js | grep -i -o -E '"url": "(.+)"' | cut -d'"' -f4 | grep "duplicati.*$pkgtype") PKGURL="$(eget -O /dev/stdout https://updates.duplicati.com/beta/latest-installers.js | grep -i -o -E '"url": "(.+)"' | cut -d'"' -f4 | grep "duplicati.*$pkgtype")"
epm install $repack "$PKG" epm install $repack "$PKGURL"
...@@ -10,21 +10,20 @@ DESCRIPTION="EAGLE (EDA software) from the official site" ...@@ -10,21 +10,20 @@ DESCRIPTION="EAGLE (EDA software) from the official site"
warn_version_is_not_supported warn_version_is_not_supported
VERSION=9.6.2 VERSION=9.6.2
IPFSHASH=Qmd38jJnTnUMUeJuKSDBGesqXF3SxEahUVZc6NUPyMKgj1
PKGURL="https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_${VERSION}_English_Linux_64bit.tar.gz" PKGURL="https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_${VERSION}_English_Linux_64bit.tar.gz"
IPFSURL="ipfs://Qmd38jJnTnUMUeJuKSDBGesqXF3SxEahUVZc6NUPyMKgj1?filename=Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz"
# use temp dir # use temp dir
PKGDIR="$(mktemp -d)" PKGDIR="$(mktemp -d)"
trap "rm -fr $PKGDIR" EXIT trap "rm -fr $PKGDIR" EXIT
cd $PKGDIR || fatal cd $PKGDIR || fatal
if ! epm tool eget $PKGURL ; then if ! eget --check-site $PKGURL ; then
echo "It is possible you are blocked from USA, trying get from IPFS ..." echo "It is possible you are blocked from USA, trying via IPFS ..."
pkgname=$(basename $PKGURL) PKGURL="$IPFSURL"
epm tool eget -O $pkgname https://dhash.ru/ipfs/$IPFSHASH || fatal "Can't get $pkgname from IPFS."
fi fi
epm install --repack *.tar.gz || exit epm install --repack $PKGURL || exit
echo echo
echo " echo "
......
...@@ -13,7 +13,7 @@ URL="https://element.io/" ...@@ -13,7 +13,7 @@ URL="https://element.io/"
arch="amd64" arch="amd64"
PKGURL=$(epm tool eget --list --latest https://packages.element.io/debian/pool/main/e/element-desktop/index.html $(epm print constructname $PKGNAME "$VERSION" $arch "deb")) || fatal "Can't get package URL" mask="$(epm print constructname $PKGNAME "$VERSION" $arch "deb")"
PKGURL=$(eget --list --latest https://packages.element.io/debian/pool/main/e/element-desktop/index.html "$mask") || fatal "Can't get package URL"
epm install --repack "$PKGURL"
epm install "$PKGURL"
...@@ -35,7 +35,7 @@ esac ...@@ -35,7 +35,7 @@ esac
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL" epm install $repack "$PKGURL" || exit
echo echo
echo "Note: run echo "Note: run
......
...@@ -9,6 +9,7 @@ URL="https://express.ms/" ...@@ -9,6 +9,7 @@ URL="https://express.ms/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
PKG="https://express.ms/download/deb"
epm install $PKG PKGURL="https://express.ms/download/deb"
epm install $PKGURL
...@@ -8,7 +8,8 @@ DESCRIPTION="FAR2L Portable from the official site" ...@@ -8,7 +8,8 @@ DESCRIPTION="FAR2L Portable from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
PKGURL=$(epm tool eget --list --latest https://github.com/spvkgn/far2l-portable/releases "far2l_x86_64.AppImage.tar")
PKGURL=$(eget --list --latest https://github.com/spvkgn/far2l-portable/releases "far2l_x86_64.AppImage.tar")
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm --install pack $PKGNAME "$PKGURL" epm --install pack $PKGNAME "$PKGURL"
...@@ -19,16 +19,13 @@ case "$pkgtype" in ...@@ -19,16 +19,13 @@ case "$pkgtype" in
rpm) rpm)
file="${PKGNAME}_${VERSION}_linux_x86_64.$pkgtype" file="${PKGNAME}_${VERSION}_linux_x86_64.$pkgtype"
;; ;;
deb)
file="${PKGNAME}_${VERSION}_linux_amd64.$pkgtype"
;;
*) *)
pkgtype="deb" pkgtype="deb"
file="${PKGNAME}_${VERSION}_linux_amd64.$pkgtype" file="${PKGNAME}_${VERSION}_linux_amd64.$pkgtype"
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://github.com/Figma-Linux/figma-linux/releases $file) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/Figma-Linux/figma-linux/releases $file) || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -8,7 +8,8 @@ DESCRIPTION="FlyView Client from the official site" ...@@ -8,7 +8,8 @@ DESCRIPTION="FlyView Client from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
#PKG="$(epm tool eget --list --latest https://flyviewvms.ru/downloads/ "flyview-client*linux64.deb")"
PKG="https://flyviewvms.ru/distro/flyview-client.deb"
epm install $PKG #PKG="$(eget --list --latest https://flyviewvms.ru/downloads/ "flyview-client*linux64.deb")"
PKGURL="https://flyviewvms.ru/distro/flyview-client.deb"
epm install $PKGURL
...@@ -8,10 +8,11 @@ DESCRIPTION="FlyView (Ipera) Server from the official site" ...@@ -8,10 +8,11 @@ DESCRIPTION="FlyView (Ipera) Server from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
#PKG="$(epm tool eget --list --latest https://flyviewvms.ru/downloads/ "flyview-server*linux64.deb")"
PKG="https://flyviewvms.ru/distro/flyview-server.deb"
epm install $PKG || exit #PKG="$(eget --list --latest https://flyviewvms.ru/downloads/ "flyview-server*linux64.deb")"
PKGURL="https://flyviewvms.ru/distro/flyview-server.deb"
epm install $PKGURL || exit
echo echo
echo " echo "
......
...@@ -18,7 +18,7 @@ case $pkgtype in ...@@ -18,7 +18,7 @@ case $pkgtype in
;; ;;
esac esac
PKGURL="$(epm tool eget --list --latest https://www.freeoffice.com/ru/download/applications $file)" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://www.freeoffice.com/ru/download/applications $file)" || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -30,10 +30,11 @@ case $pkgtype in ...@@ -30,10 +30,11 @@ case $pkgtype in
rpm) rpm)
#epm $repack install "https://www.geogebra.net/linux/rpm/$arch/$(epm print constructname $PKGNAME "$VERSION" $arch)" #epm $repack install "https://www.geogebra.net/linux/rpm/$arch/$(epm print constructname $PKGNAME "$VERSION" $arch)"
#http://www.geogebra.net/linux/rpm/x86_64/geogebra-classic-6.0.666.0-202109211234.x86_64.rpm #http://www.geogebra.net/linux/rpm/x86_64/geogebra-classic-6.0.666.0-202109211234.x86_64.rpm
epm $repack install "ipfs://Qmc6KzDcverDKJptZd6ffJMqyYbKKcuwdHitB6EAEw2C6n?filename=geogebra-classic-6.0.666.0-202109211234.x86_64.rpm" PKGURL="ipfs://Qmc6KzDcverDKJptZd6ffJMqyYbKKcuwdHitB6EAEw2C6n?filename=geogebra-classic-6.0.666.0-202109211234.x86_64.rpm"
;; ;;
*) *)
fatal "Unsupported $pkgtype" fatal "Unsupported $pkgtype"
;; ;;
esac esac
epm $repack install "$PKGURL"
...@@ -8,12 +8,14 @@ URL="https://www.guardant.ru/support/users/download/1223/" ...@@ -8,12 +8,14 @@ URL="https://www.guardant.ru/support/users/download/1223/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
[ "$VERSION" = "*" ] && VERSION="$(basename $(epm tool eget --list --latest https://download.guardant.ru/LM/Linux/ '*/'))" [ "$VERSION" = "*" ] && VERSION="$(basename $(eget --list --latest https://download.guardant.ru/LM/Linux/ '*/'))"
[ -n "$VERSION" ] || fatal "Can't get version."
shortarch=x64 shortarch=x64
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
# there are incorrect version in the package name
case "$pkgtype" in case "$pkgtype" in
rpm) rpm)
file="glds-*.x86_64.rpm" file="glds-*.x86_64.rpm"
...@@ -26,7 +28,7 @@ case "$pkgtype" in ...@@ -26,7 +28,7 @@ case "$pkgtype" in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://download.guardant.ru/LM/Linux/$VERSION/$shortarch/ "$file") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://download.guardant.ru/LM/Linux/$VERSION/$shortarch/ "$file") || fatal "Can't get package URL"
repack='' repack=''
[ "$pkgtype" = "rpm" ] && repack='--repack' [ "$pkgtype" = "rpm" ] && repack='--repack'
......
...@@ -13,6 +13,6 @@ URL="https://www.perforce.com/products/hansoft" ...@@ -13,6 +13,6 @@ URL="https://www.perforce.com/products/hansoft"
VERSION="${VERSION/\./_}" VERSION="${VERSION/\./_}"
PKG="https://cache.hansoft.com/hansoft_${VERSION}_x64.deb" PKGURL="https://cache.hansoft.com/hansoft_${VERSION}_x64.deb"
epm install $PKG epm install "$PKGURL"
...@@ -33,14 +33,14 @@ PKGDIR="$(mktemp -d)" ...@@ -33,14 +33,14 @@ PKGDIR="$(mktemp -d)"
trap "rm -fr $PKGDIR" EXIT trap "rm -fr $PKGDIR" EXIT
cd $PKGDIR || fatal cd $PKGDIR || fatal
pkgname=$(basename $PKGURL)
if ! epm tool eget $PKGURL ; then if ! eget --check-site $PKGURL ; then
echo "It is possible you are blocked from USA, trying get from IPFS ..." echo "It is possible you are blocked from USA, trying get from IPFS ..."
epm tool eget -O $pkgname https://dhash.ru/ipfs/$IPFSHASH || fatal "Can't get $pkgname from IPFS." pkgname=$(basename $PKGURL)
PKGURL="ipfs://$IPFSHASH?filename=$pkgname"
fi fi
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack $pkgname || exit epm install $repack $PKGURL
...@@ -20,7 +20,6 @@ esac ...@@ -20,7 +20,6 @@ esac
pkgtype=deb pkgtype=deb
PKG=$(epm tool eget --list --latest https://github.com/4gray/iptvnator/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/4gray/iptvnator/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
[ -n "$PKG" ] || fatal "Can't get package URL"
epm install "$PKG" epm install "$PKGURL"
...@@ -12,10 +12,9 @@ warn_version_is_not_supported ...@@ -12,10 +12,9 @@ warn_version_is_not_supported
# https://github.com/nagygergo/jetbrains-toolbox-install/blob/master/jetbrains-toolbox.sh # https://github.com/nagygergo/jetbrains-toolbox-install/blob/master/jetbrains-toolbox.sh
URL=$(epm tool eget -O- "https://data.services.jetbrains.com/products?code=TBA&release.type=eap%2Crc%2Crelease&fields=distributions%2Clink%2Cname%2Creleases" | epm --inscript tool json -b | grep '0,"releases",0,"downloads","linux","link"' | sed -e 's|.*[[:space:]]||') PKGURL=$(eget -O- "https://data.services.jetbrains.com/products?code=TBA&release.type=eap%2Crc%2Crelease&fields=distributions%2Clink%2Cname%2Creleases" | epm --inscript tool json -b | grep '0,"releases",0,"downloads","linux","link"' | sed -e 's|.*[[:space:]]||')
#https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.25.12627.tar.gz #https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.25.12627.tar.gz
# eval for drop quotes # eval for drop quotes
eval epm pack --install $PKGNAME $URL eval epm pack --install $PKGNAME $PKGURL
...@@ -9,6 +9,7 @@ URL="https://www.kyoceradocumentsolutions.eu/en/support/downloads.name-L2V1L2VuL ...@@ -9,6 +9,7 @@ URL="https://www.kyoceradocumentsolutions.eu/en/support/downloads.name-L2V1L2VuL
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
URL="https://www.kyoceradocumentsolutions.de/content/download-center/de/drivers/all/SANE_Driver_zip.download.zip"
epm pack --install $PKGNAME "$URL" PKGURL="https://www.kyoceradocumentsolutions.de/content/download-center/de/drivers/all/SANE_Driver_zip.download.zip"
epm pack --install $PKGNAME "$PKGURL"
...@@ -10,6 +10,6 @@ URL="https://www.kyoceradocumentsolutions.eu/en/support/downloads.html" ...@@ -10,6 +10,6 @@ URL="https://www.kyoceradocumentsolutions.eu/en/support/downloads.html"
warn_version_is_not_supported warn_version_is_not_supported
URL="https://www.kyoceradocumentsolutions.eu/content/download-center/eu/drivers/all/Linux_Universal_Driver_zip.download.zip" PKGURL="https://www.kyoceradocumentsolutions.eu/content/download-center/eu/drivers/all/Linux_Universal_Driver_zip.download.zip"
epm pack --install kyodialog "$URL" epm pack --install kyodialog "$PKGURL"
...@@ -13,21 +13,19 @@ arch=x86_64 ...@@ -13,21 +13,19 @@ arch=x86_64
pkgtype=$(epm print info -p) pkgtype=$(epm print info -p)
case $pkgtype in case $pkgtype in
rpm) rpm)
PKG="https://rpm.librewolf.net/pool/librewolf$VERSION.rpm" PKGURL="https://rpm.librewolf.net/pool/librewolf$VERSION.rpm"
;;
deb)
PKG="https://deb.librewolf.net/pool/focal/librewolf-$VERSION$arch.deb"
;; ;;
*) *)
fatal "Package target $pkgtype is not supported yet" PKGURL="https://deb.librewolf.net/pool/focal/librewolf-$VERSION$arch.deb"
;; ;;
esac esac
if ! is_glibc_enough 2.35 ; then if ! is_glibc_enough 2.35 ; then
PKG="https://deb.librewolf.net/pool/focal/librewolf-$VERSION$arch.deb" # use deb package for old glibc
PKGURL="https://deb.librewolf.net/pool/focal/librewolf-$VERSION$arch.deb"
fi fi
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKG" epm install $repack "$PKGURL"
...@@ -29,5 +29,6 @@ if ! is_glibc_enough 2.34 ; then ...@@ -29,5 +29,6 @@ if ! is_glibc_enough 2.34 ; then
fi fi
# https://icons8.ru/lunacy # https://icons8.ru/lunacy
epm install "https://lcdn.icons8.com/setup/$file" PKGURL="https://lcdn.icons8.com/setup/$file"
epm install $PKGURL
...@@ -20,7 +20,7 @@ is_stdcpp_enough "11.0" || VERSION="4.1.0" ...@@ -20,7 +20,7 @@ is_stdcpp_enough "11.0" || VERSION="4.1.0"
PKGURL="$(eget --list --latest https://mango3d.io/downloads/ "LycheeSlicer-$VERSION.deb")" PKGURL="$(eget --list --latest https://mango3d.io/downloads/ "LycheeSlicer-$VERSION.deb")"
# restore missed CDN for the latest release # restore missed CDN for the latest release
PKGURL=$(echo $PKGURL | sed -e 's|mango-lychee.nyc3.digitaloceanspaces.com|mango-lychee.nyc3.cdn.digitaloceanspaces.com|') PKGURL="$(echo $PKGURL | sed -e 's|mango-lychee.nyc3.digitaloceanspaces.com|mango-lychee.nyc3.cdn.digitaloceanspaces.com|')"
if ! eget --check-url "$PKGURL" ; then if ! eget --check-url "$PKGURL" ; then
# all previous versions return url to cdn with broken SSL (SSL connection broken only with wget or works only in a browser): # all previous versions return url to cdn with broken SSL (SSL connection broken only with wget or works only in a browser):
...@@ -29,7 +29,7 @@ if ! eget --check-url "$PKGURL" ; then ...@@ -29,7 +29,7 @@ if ! eget --check-url "$PKGURL" ; then
if epm assure curl ; then if epm assure curl ; then
export EGET_BACKEND=curl export EGET_BACKEND=curl
else else
PKGURL=$(echo $PKGURL | sed -e 's|mango-lychee.nyc3.cdn|mango-lychee.nyc3|') PKGURL="$(echo $PKGURL | sed -e 's|mango-lychee.nyc3.cdn|mango-lychee.nyc3|')"
fi fi
fi fi
......
...@@ -17,7 +17,7 @@ if [ "$VERSION" = "*" ] ; then ...@@ -17,7 +17,7 @@ if [ "$VERSION" = "*" ] ; then
fi fi
PKGURL="https://hb.bizmrg.com/agent-www/linux/x64/agent.tar.xz" PKGURL="https://hb.bizmrg.com/agent-www/linux/x64/agent.tar.xz"
epm pack --install "$PKGURL" $VERSION epm pack --install $PKGNAME "$PKGURL" $VERSION
#PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/agent | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" || fatal "Can't get URL" #PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/agent | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" || fatal "Can't get URL"
......
...@@ -13,6 +13,6 @@ URL="https://www.getmailspring.com/" ...@@ -13,6 +13,6 @@ URL="https://www.getmailspring.com/"
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
PKGURL=$(epm tool eget --list --latest https://github.com/Foundry376/Mailspring/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/Foundry376/Mailspring/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -12,13 +12,13 @@ PKG='' ...@@ -12,13 +12,13 @@ PKG=''
repack='' repack=''
# Strict supported list # Strict supported list
case $(epm print info -e) in case $(epm print info -e) in
AstraLinuxCE/*|Debian/9|Ubuntu/20) AstraLinuxCE/*|Debian/9|Ubuntu/18)
PKG="master-pdf-editor-$VERSION-qt5.9.x86_64.deb" PKG="master-pdf-editor-$VERSION-qt5.9.x86_64.deb"
;; ;;
AstraLinuxSE/1.7*|Debian/*|Ubuntu/*) AstraLinuxSE/1.7*|Debian/*|Ubuntu/*)
PKG="master-pdf-editor-$VERSION-qt5.x86_64.deb" PKG="master-pdf-editor-$VERSION-qt5.x86_64.deb"
;; ;;
RedOS/*|AlterOS/*|ALTLinux/*) RedOS/*|AlterOS/*|ALTLinux/*|CentOS/*|RockyLinux/*)
PKG="master-pdf-editor-$VERSION-qt5.x86_64.rpm" PKG="master-pdf-editor-$VERSION-qt5.x86_64.rpm"
repack='--repack' repack='--repack'
;; ;;
...@@ -27,6 +27,7 @@ esac ...@@ -27,6 +27,7 @@ esac
if [ -z "$PKG" ] ; then if [ -z "$PKG" ] ; then
case $(epm print info -p) in case $(epm print info -p) in
rpm) rpm)
repack='--repack'
PKG="master-pdf-editor-$VERSION-qt5.x86_64.rpm" PKG="master-pdf-editor-$VERSION-qt5.x86_64.rpm"
;; ;;
*) *)
...@@ -35,6 +36,6 @@ if [ -z "$PKG" ] ; then ...@@ -35,6 +36,6 @@ if [ -z "$PKG" ] ; then
esac esac
fi fi
PKGURL=$(epm tool eget --list --latest https://code-industry.ru/get-master-pdf-editor-for-linux/ $PKG) PKGURL=$(eget --list --latest https://code-industry.ru/get-master-pdf-editor-for-linux/ $PKG) || fatal "Can't get package URL"
epm $repack install "$PKGURL" epm $repack install "$PKGURL"
...@@ -21,7 +21,7 @@ case "$arch" in ...@@ -21,7 +21,7 @@ case "$arch" in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://github.com/mattermost/desktop/releases $(epm print constructname $PKGNAME "$VERSION*" $arch "deb")) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/mattermost/desktop/releases $(epm print constructname $PKGNAME "$VERSION*" $arch "deb")) || fatal "Can't get package URL"
epm install --repack "$PKGURL" epm install --repack "$PKGURL"
...@@ -11,7 +11,7 @@ URL="https://github.com/PurpleHorrorRus/Meridius" ...@@ -11,7 +11,7 @@ URL="https://github.com/PurpleHorrorRus/Meridius"
if [ "$VERSION" != "*" ] ; then if [ "$VERSION" != "*" ] ; then
PKGURL="https://github.com/PurpleHorrorRus/Meridius/releases/download/v$VERSION/meridius-$VERSION.tar.gz" PKGURL="https://github.com/PurpleHorrorRus/Meridius/releases/download/v$VERSION/meridius-$VERSION.tar.gz"
else else
PKGURL=$(epm tool eget --list --latest https://github.com/PurpleHorrorRus/Meridius/releases "$PKGNAME-*.tar.gz") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/PurpleHorrorRus/Meridius/releases "$PKGNAME-*.tar.gz") || fatal "Can't get package URL"
fi fi
epm install "$PKGURL" epm install "$PKGURL"
...@@ -8,7 +8,8 @@ URL="https://mobirise.com" ...@@ -8,7 +8,8 @@ URL="https://mobirise.com"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# https://mobihtml.ru/
epm install "https://download.mobirise.com/MobiriseSetup.deb"
warn_version_is_not_supported warn_version_is_not_supported
PKGURL="https://download.mobirise.com/MobiriseSetup.deb"
epm install "$PKGURL"
...@@ -17,6 +17,6 @@ epm assure xdg-desktop-menu xdg-utils ...@@ -17,6 +17,6 @@ epm assure xdg-desktop-menu xdg-utils
# https://preset.myoffice-app.ru/myoffice-standard-home-edition-2.3.0-x86_64.rpm # https://preset.myoffice-app.ru/myoffice-standard-home-edition-2.3.0-x86_64.rpm
# https://preset.myoffice-app.ru/myoffice-standard-home-edition_2.3.0_amd64.deb # https://preset.myoffice-app.ru/myoffice-standard-home-edition_2.3.0_amd64.deb
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" "" "" "" "[-_]")" PKGMASK="$(epm print constructname $PKGNAME "$VERSION" "" "" "" "[-_]")"
PKGURL="$(epm tool eget --list --latest https://myoffice.ru/products/standard-home-edition/ "$PKGMASK")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://myoffice.ru/products/standard-home-edition/ "$PKGMASK")" || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -8,7 +8,7 @@ URL="https://neovide.dev/" ...@@ -8,7 +8,7 @@ URL="https://neovide.dev/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(epm tool eget --list --latest https://github.com/neovide/neovide/releases $PKGNAME.AppImage) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/neovide/neovide/releases $PKGNAME.AppImage) || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -11,7 +11,7 @@ URL="https://netbeans.apache.org" ...@@ -11,7 +11,7 @@ URL="https://netbeans.apache.org"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
VERSION="$(epm tool eget --list https://dlcdn.apache.org/netbeans/netbeans-installers/* | tail -n1 | xargs basename)" VERSION="$(eget --list https://dlcdn.apache.org/netbeans/netbeans-installers/* | tail -n1 | xargs basename)"
fi fi
pkgtype=$(epm print info -p) pkgtype=$(epm print info -p)
......
...@@ -12,6 +12,6 @@ arch=amd64 ...@@ -12,6 +12,6 @@ arch=amd64
pkgtype=deb pkgtype=deb
# https://github.com/vkbo/novelWriter/releases/download/v2.0.7/novelwriter_2.0.7_all.deb # https://github.com/vkbo/novelWriter/releases/download/v2.0.7/novelwriter_2.0.7_all.deb
PKGURL=$(epm tool eget --list --latest https://github.com/vkbo/novelWriter/releases "novelwriter_${VERSION}_all.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/vkbo/novelWriter/releases "novelwriter_${VERSION}_all.$pkgtype") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -9,6 +9,6 @@ URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/" ...@@ -9,6 +9,6 @@ URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.85.0/0.85.0-linux-x64.zip # https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.85.0/0.85.0-linux-x64.zip
PKGURL=$(epm tool eget --list --latest https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases "${VERSION}-linux-x64.zip") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases "${VERSION}-linux-x64.zip") || fatal "Can't get package URL"
epm pack --install $PKGNAME $PKGURL epm pack --install $PKGNAME $PKGURL
...@@ -11,6 +11,6 @@ URL="https://obsidian.md" ...@@ -11,6 +11,6 @@ URL="https://obsidian.md"
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
PKGURL=$(epm tool eget --list --latest https://github.com/obsidianmd/obsidian-releases/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/obsidianmd/obsidian-releases/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -11,7 +11,7 @@ URL="https://github.com/pachca/pachca-desktop" ...@@ -11,7 +11,7 @@ URL="https://github.com/pachca/pachca-desktop"
arch="$(epm print info --debian-arch)" arch="$(epm print info --debian-arch)"
file="${PKGNAME}_${VERSION}_$arch.deb" file="${PKGNAME}_${VERSION}_$arch.deb"
PKGURL=$(epm tool eget --list --latest https://github.com/pachca/pachca-desktop/releases $file) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/pachca/pachca-desktop/releases $file) || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -11,6 +11,6 @@ URL="https://github.com/PCSX2/pcsx2/releases" ...@@ -11,6 +11,6 @@ URL="https://github.com/PCSX2/pcsx2/releases"
# https://github.com/PCSX2/pcsx2/releases/download/v1.7.4767/pcsx2-v1.7.4767-linux-appimage-x64-Qt.AppImage # https://github.com/PCSX2/pcsx2/releases/download/v1.7.4767/pcsx2-v1.7.4767-linux-appimage-x64-Qt.AppImage
file="pcsx2-v${VERSION}-linux-appimage-x64-Qt.AppImage" file="pcsx2-v${VERSION}-linux-appimage-x64-Qt.AppImage"
PKGURL=$(epm tool eget --list --latest https://github.com/PCSX2/pcsx2/releases $file) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/PCSX2/pcsx2/releases $file) || fatal "Can't get package URL"
epm pack --install "$PKGNAME" "$PKGURL" epm pack --install "$PKGNAME" "$PKGURL"
...@@ -33,5 +33,5 @@ repack='' ...@@ -33,5 +33,5 @@ repack=''
PKGMASK="$(epm print constructname $PKGNAME "$VERSION.ga" $arch)" PKGMASK="$(epm print constructname $PKGNAME "$VERSION.ga" $arch)"
PKGURL="$(epm tool eget --list --latest https://pencil.evolus.vn/Downloads.html $PKGMASK)" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://pencil.evolus.vn/Downloads.html $PKGMASK)" || fatal "Can't get package URL"
epm $repack install "$PKGURL" epm $repack install "$PKGURL"
...@@ -14,7 +14,7 @@ PKGURL="https://dl.piktomir.ru/PiktoMir-x86_64.AppImage" ...@@ -14,7 +14,7 @@ PKGURL="https://dl.piktomir.ru/PiktoMir-x86_64.AppImage"
# hack: original AppImage have no version # hack: original AppImage have no version
cd_to_temp_dir cd_to_temp_dir
epm tool eget "$PKGURL" || fatal eget "$PKGURL" || fatal
newname="$PKGNAME-0.1.AppImage" newname="$PKGNAME-0.1.AppImage"
mv -v *.AppImage $newname mv -v *.AppImage $newname
......
...@@ -17,7 +17,7 @@ fi ...@@ -17,7 +17,7 @@ fi
# TODO: get from grep '^###Scripts version ' PortWINE/data_from_portwine/changelog_eng | head -n1 # TODO: get from grep '^###Scripts version ' PortWINE/data_from_portwine/changelog_eng | head -n1
###Scripts version 2172### ###Scripts version 2172###
#VERSION="$(epm tool eget -O- https://api.github.com/repos/Castro-Fidel/PortWINE/commits/HEAD | grep '"message": "Scripts version' | sed -e 's|.*Scripts version ||' -e 's|".*||' )" #VERSION="$(eget -O- https://api.github.com/repos/Castro-Fidel/PortWINE/commits/HEAD | grep '"message": "Scripts version' | sed -e 's|.*Scripts version ||' -e 's|".*||' )"
#epm pack --install $PKGNAME https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz $VERSION #epm pack --install $PKGNAME https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz $VERSION
epm play i586-fix epm play i586-fix
......
...@@ -26,7 +26,7 @@ case $(epm print info -e) in ...@@ -26,7 +26,7 @@ case $(epm print info -e) in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest $BASEURL $file) || fatal "Can't get package URL" PKGURL=$(eget --list --latest $BASEURL $file) || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
......
...@@ -24,7 +24,7 @@ esac ...@@ -24,7 +24,7 @@ esac
arch=x86_64 arch=x86_64
# https://github.com/prateekmedia/pstube/releases/download/2.6.0/pstube-linux-2.6.0-x86_64.rpm # https://github.com/prateekmedia/pstube/releases/download/2.6.0/pstube-linux-2.6.0-x86_64.rpm
# https://github.com/prateekmedia/pstube/releases/download/2.6.0/pstube-linux-2.6.0-x86_64.deb # https://github.com/prateekmedia/pstube/releases/download/2.6.0/pstube-linux-2.6.0-x86_64.deb
PKGURL=$(epm tool eget --list --latest https://github.com/prateekmedia/pstube/releases "$PKGNAME-$VERSION-$arch.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/prateekmedia/pstube/releases "$PKGNAME-$VERSION-$arch.$pkgtype") || fatal "Can't get package URL"
# we have workaround for their postinstall script, so always repack rpm package # we have workaround for their postinstall script, so always repack rpm package
[ "$pkgtype" = "deb" ] || repack='--repack' [ "$pkgtype" = "deb" ] || repack='--repack'
......
...@@ -39,7 +39,7 @@ case $(epm print info -e) in ...@@ -39,7 +39,7 @@ case $(epm print info -e) in
;; ;;
esac esac
PKGURL="$(epm tool eget --list --latest -U "$URLBASE" "$mask")" PKGURL="$(eget --list --latest -U "$URLBASE" "$mask")"
# install with scripts (need for install icons and associations) # install with scripts (need for install icons and associations)
# see /etc/eepm/pkgallowscripts.list # see /etc/eepm/pkgallowscripts.list
......
...@@ -26,6 +26,6 @@ case $pkgtype-$arch in ...@@ -26,6 +26,6 @@ case $pkgtype-$arch in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ $PKG) PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ $PKG) || fatal "Can't get package URL"
epm $repack install $PKGURL epm $repack install $PKGURL
...@@ -32,6 +32,6 @@ case $pkgtype-$arch in ...@@ -32,6 +32,6 @@ case $pkgtype-$arch in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://www.realvnc.com/en/connect/download/viewer/ $PKG) PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/viewer/ $PKG) || fatal "Can't get package URL"
epm $repack install $PKGURL epm $repack install $PKGURL
...@@ -17,7 +17,7 @@ case "$(epm print info -a)" in ...@@ -17,7 +17,7 @@ case "$(epm print info -a)" in
arch="armv7l" ;; arch="armv7l" ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://www.reaper.fm/download.php "*$arch.tar.xz") PKGURL=$(eget --list --latest https://www.reaper.fm/download.php "*$arch.tar.xz")
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm pack --install reaper "$PKGURL" epm pack --install reaper "$PKGURL"
\ No newline at end of file
...@@ -15,7 +15,7 @@ case $pkgtype in ...@@ -15,7 +15,7 @@ case $pkgtype in
rpm) rpm)
mask="ridoclnx-1.0-4.4.x86_64.rpm" mask="ridoclnx-1.0-4.4.x86_64.rpm"
;; ;;
deb) *)
mask="ridoclnx_1.0.4.4.deb" mask="ridoclnx_1.0.4.4.deb"
;; ;;
esac esac
......
...@@ -11,6 +11,6 @@ URL="https://github.com/RocketChat/Rocket.Chat.Electron" ...@@ -11,6 +11,6 @@ URL="https://github.com/RocketChat/Rocket.Chat.Electron"
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
PKGURL=$(epm tool eget --list --latest https://github.com/RocketChat/Rocket.Chat.Electron/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/RocketChat/Rocket.Chat.Electron/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -10,6 +10,6 @@ URL="https://rpcs3.net/download" ...@@ -10,6 +10,6 @@ URL="https://rpcs3.net/download"
file="rpcs3-v${VERSION}-*-*_linux64.AppImage" file="rpcs3-v${VERSION}-*-*_linux64.AppImage"
PKGURL=$(epm tool eget --list --latest https://github.com/RPCS3/rpcs3-binaries-linux/releases $file) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/RPCS3/rpcs3-binaries-linux/releases $file) || fatal "Can't get package URL"
epm pack --install "$PKGNAME" "$PKGURL" epm pack --install "$PKGNAME" "$PKGURL"
...@@ -41,6 +41,6 @@ case $(epm print info -e) in ...@@ -41,6 +41,6 @@ case $(epm print info -e) in
esac esac
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")" PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")"
PKGURL="$(epm tool eget --list https://www.rstudio.com/products/rstudio/download/ $PKGMASK | grep $PKGFILTER)" || fatal "Can't get package URL" PKGURL="$(eget --list https://www.rstudio.com/products/rstudio/download/ $PKGMASK | grep $PKGFILTER)" || fatal "Can't get package URL"
epm install $repack "$PKGURL" epm install $repack "$PKGURL"
...@@ -21,7 +21,7 @@ else ...@@ -21,7 +21,7 @@ else
MASK="$PKGNAME-$VERSION-$arch.$pkgtype" MASK="$PKGNAME-$VERSION-$arch.$pkgtype"
fi fi
PKGURL=$(epm tool eget --list --latest https://github.com/rustdesk/rustdesk/releases "$MASK") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/rustdesk/rustdesk/releases "$MASK") || fatal "Can't get package URL"
epm install $PKGURL || exit epm install $PKGURL || exit
cat <<EOF cat <<EOF
......
...@@ -8,6 +8,6 @@ URL="https://sidequestvr.com/" ...@@ -8,6 +8,6 @@ URL="https://sidequestvr.com/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(epm tool eget --list --latest "https://github.com/SideQuestVR/SideQuest/releases/" "*.tar.xz") || fatal "Can't get package URL" PKGURL=$(eget --list --latest "https://github.com/SideQuestVR/SideQuest/releases/" "SideQuest-$VERSION.tar.xz") || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" epm pack --install $PKGNAME "$PKGURL"
...@@ -12,12 +12,12 @@ DOWNURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop" ...@@ -12,12 +12,12 @@ DOWNURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop"
# https://github.com/signalapp/Signal-Desktop/issues/3506 # https://github.com/signalapp/Signal-Desktop/issues/3506
# old way # old way
#PKGURL=$(epm tool eget --list --latest https://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/ "${PKGNAME}_${VERSION}_amd64.deb") #PKGURL=$(eget --list --latest https://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/ "${PKGNAME}_${VERSION}_amd64.deb")
#file="$(basename $PKGURL)" #file="$(basename $PKGURL)"
#[ "$VERSION" = "*" ] && VERSION="$(epm tool eget --list --latest https://github.com/signalapp/Signal-Desktop/releases/ v$VERSION.tar.gz | sed -e 's|^v\(.*\)\.tar\.gz|\1|')" #[ "$VERSION" = "*" ] && VERSION="$(eget --list --latest https://github.com/signalapp/Signal-Desktop/releases/ v$VERSION.tar.gz | sed -e 's|^v\(.*\)\.tar\.gz|\1|')"
[ "$VERSION" = "*" ] && VERSION="$(epm tool eget -O- https://api.github.com/repos/signalapp/Signal-Desktop/releases | grep '"name": "v[0-9]*\.[0-9]*\.[0-9]*"' | head -n1 | sed -e 's|.* "v\(.*\)".*|\1|')" #' [ "$VERSION" = "*" ] && VERSION="$(eget -O- https://api.github.com/repos/signalapp/Signal-Desktop/releases | grep '"name": "v[0-9]*\.[0-9]*\.[0-9]*"' | head -n1 | sed -e 's|.* "v\(.*\)".*|\1|')" #'
#file="$(epm tool eget -O- https://updates.signal.org/desktop/apt/dists/xenial/main/binary-amd64/Packages.gz | zcat | grep Filename | sed 's_Filename: _https://updates.signal.org/desktop/apt/_')" #file="$(eget -O- https://updates.signal.org/desktop/apt/dists/xenial/main/binary-amd64/Packages.gz | zcat | grep Filename | sed 's_Filename: _https://updates.signal.org/desktop/apt/_')"
[ -n "$VERSION" ] || fatal "Can't retrieve the latest version for $PKGNAME." [ -n "$VERSION" ] || fatal "Can't retrieve the latest version for $PKGNAME."
# signal-desktop_5.63.1_amd64.deb # signal-desktop_5.63.1_amd64.deb
......
...@@ -12,7 +12,7 @@ arch=x86_64 ...@@ -12,7 +12,7 @@ arch=x86_64
pkgtype=rpm pkgtype=rpm
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)" PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)"
PKG="$(epm tool eget --list --latest https://slack.com/downloads/instructions/fedora $PKGMASK)" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://slack.com/downloads/instructions/fedora $PKGMASK)" || fatal "Can't get package URL"
[ -n "$PKG" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm install --repack "$PKG" epm install --repack "$PKGURL"
...@@ -18,7 +18,7 @@ case $arch in ...@@ -18,7 +18,7 @@ case $arch in
fatal "Unsupported arch $arch for $(epm print info -d)" fatal "Unsupported arch $arch for $(epm print info -d)"
esac esac
PKGURL=$(epm tool eget --list --latest https://github.com/bromagosa/Snap4Arduino/releases "Snap4Arduino_desktop-gnu-$arch_*.tar.gz") #" PKGURL=$(eget --list --latest https://github.com/bromagosa/Snap4Arduino/releases "Snap4Arduino_desktop-gnu-$arch_*.tar.gz") #"
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" epm pack --install $PKGNAME "$PKGURL"
...@@ -8,5 +8,5 @@ URL="https://spotify.com" ...@@ -8,5 +8,5 @@ URL="https://spotify.com"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# epm uses eget to download * names PKGURL="https://repository-origin.spotify.com/pool/non-free/s/spotify-client/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)" || fatal "Can't get package URL"
epm install "https://repository-origin.spotify.com/pool/non-free/s/spotify-client/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)" epm install "$PKGURL"
...@@ -13,7 +13,7 @@ URL="https://sputnik-lab.com/api-updates/updates/apps/meta?channel=b2c-distrs-on ...@@ -13,7 +13,7 @@ URL="https://sputnik-lab.com/api-updates/updates/apps/meta?channel=b2c-distrs-on
url_by_id_content() url_by_id_content()
{ {
local id_content="$1" local id_content="$1"
epm tool eget -q -O- "$URL" | grep -A6 "$id_content" | tail -n1 | sed -e 's|.*"url": "||' -e 's|".*||' eget -q -O- "$URL" | grep -A6 "$id_content" | tail -n1 | sed -e 's|.*"url": "||' -e 's|".*||'
} }
case "$(epm print info -e)" in case "$(epm print info -e)" in
......
...@@ -21,7 +21,7 @@ case "$arch" in ...@@ -21,7 +21,7 @@ case "$arch" in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://www.sublimetext.com/download_thanks "sublime_text_build_${VERSION}_$arch.tar.xz") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://www.sublimetext.com/download_thanks "sublime_text_build_${VERSION}_$arch.tar.xz") || fatal "Can't get package URL"
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm pack $PKGNAME "$PKGURL" || exit epm pack $PKGNAME "$PKGURL" || exit
......
...@@ -10,7 +10,7 @@ URL="https://synology.com" ...@@ -10,7 +10,7 @@ URL="https://synology.com"
[ "$VERSION" = "*" ] && VERSION="[0-9]*" [ "$VERSION" = "*" ] && VERSION="[0-9]*"
urldir="$(epm tool eget --list https://archive.synology.com/download/Utility/ChatClient "/$VERSION-*" | head -n1)" urldir="$(eget --list https://archive.synology.com/download/Utility/ChatClient "/$VERSION-*" | head -n1)"
[ -n "$urldir" ] || fatal "Can't get dir for $VERSION version on https://archive.synology.com/download/Utility/ChatClient" [ -n "$urldir" ] || fatal "Can't get dir for $VERSION version on https://archive.synology.com/download/Utility/ChatClient"
# use temp dir # use temp dir
...@@ -19,7 +19,6 @@ trap "rm -fr $PKGDIR" EXIT ...@@ -19,7 +19,6 @@ trap "rm -fr $PKGDIR" EXIT
cd $PKGDIR || fatal cd $PKGDIR || fatal
# fix spaces in the package name # fix spaces in the package name
epm tool eget -O $PKGNAME.deb "$urldir/Synology*.deb" eget -O $PKGNAME.deb "$urldir/Synology*.deb"
epm install $PKGNAME.deb epm install $PKGNAME.deb
...@@ -14,8 +14,9 @@ is_stdcpp_enough "11.0" || VERSION="3.2.1" ...@@ -14,8 +14,9 @@ is_stdcpp_enough "11.0" || VERSION="3.2.1"
[ "$VERSION" = "*" ] && VERSION="[0-9]*" || VERSION="$(echo "$VERSION" | sed -e 's|^7|3|')" [ "$VERSION" = "*" ] && VERSION="[0-9]*" || VERSION="$(echo "$VERSION" | sed -e 's|^7|3|')"
urldir="$(epm tool eget --list https://archive.synology.com/download/Utility/SynologyDriveClient "/$VERSION-*" | head -n1)" urldir="$(eget --list https://archive.synology.com/download/Utility/SynologyDriveClient "/$VERSION-*" | head -n1)"
[ -n "$urldir" ] || fatal "Can't get dir for $VERSION version on https://archive.synology.com/download/Utility/SynologyDriveClient" [ -n "$urldir" ] || fatal "Can't get dir for $VERSION version on https://archive.synology.com/download/Utility/SynologyDriveClient"
epm install "$urldir/$PKGNAME-*.x86_64.deb" PKGURL="$urldir/$PKGNAME-*.x86_64.deb"
epm install "$PKGURL"
...@@ -21,7 +21,7 @@ if [ "$VERSION" = "*" ] ; then ...@@ -21,7 +21,7 @@ if [ "$VERSION" = "*" ] ; then
fi fi
PKGURL=$(epm tool eget --list --latest https://github.com/telegramdesktop/tdesktop/releases "tsetup.$VERSION*.tar.xz") #" PKGURL=$(eget --list --latest https://github.com/telegramdesktop/tdesktop/releases "tsetup.$VERSION*.tar.xz") #"
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm --install pack $PKGNAME "$PKGURL" epm --install pack $PKGNAME "$PKGURL"
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://todoist.com/linux_app/appimage" PKGURL="https://todoist.com/linux_app/appimage"
epm install $PKGURL epm install "$PKGURL"
...@@ -27,10 +27,9 @@ esac ...@@ -27,10 +27,9 @@ esac
# https://github.com/tonkeeper/tonkeeper-web/releases/download/v3.7.1/tonkeeper_3.7.1_amd64.deb # https://github.com/tonkeeper/tonkeeper-web/releases/download/v3.7.1/tonkeeper_3.7.1_amd64.deb
# https://github.com/tonkeeper/tonkeeper-web/releases/download/v3.7.1/Tonkeeper-3.7.1-1.x86_64.rpm # https://github.com/tonkeeper/tonkeeper-web/releases/download/v3.7.1/Tonkeeper-3.7.1-1.x86_64.rpm
PKGURL=$(epm tool eget --list --latest https://github.com/tonkeeper/tonkeeper-web/releases $(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/tonkeeper/tonkeeper-web/releases $(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype)) || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL" || exit epm install $repack "$PKGURL"
...@@ -15,6 +15,6 @@ fi ...@@ -15,6 +15,6 @@ fi
[ "$VERSION" != "*" ] && VERSION="$VERSION-1.1" [ "$VERSION" != "*" ] && VERSION="$VERSION-1.1"
PKG=$(epm tool eget --list --latest https://github.com/clickot/ungoogled-chromium-binaries/releases ungoogled-chromium_${VERSION}_linux.tar.xz) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/clickot/ungoogled-chromium-binaries/releases ungoogled-chromium_${VERSION}_linux.tar.xz) || fatal "Can't get package URL"
epm install "$PKG" epm install "$PKGURL"
...@@ -8,6 +8,6 @@ URL="https://benchmark.unigine.com/heaven" ...@@ -8,6 +8,6 @@ URL="https://benchmark.unigine.com/heaven"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL="$(eget --list --latest https://benchmark.unigine.com/heaven "Unigine_Heaven-$VERSION.run")" PKGURL="$(eget --list --latest https://benchmark.unigine.com/heaven "Unigine_Heaven-$VERSION.run")" || fatal "Can't get package URL"
epm pack --install $PKGNAME $PKGURL epm pack --install $PKGNAME "$PKGURL"
...@@ -9,6 +9,6 @@ URL="https://benchmark.unigine.com/superposition" ...@@ -9,6 +9,6 @@ URL="https://benchmark.unigine.com/superposition"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# https://assets.unigine.com/d/Unigine_superposition-4.0.run # https://assets.unigine.com/d/Unigine_superposition-4.0.run
PKGURL=$(eget --list --latest https://benchmark.unigine.com/superposition "Unigine_Superposition-$VERSION.run") PKGURL=$(eget --list --latest https://benchmark.unigine.com/superposition "Unigine_Superposition-$VERSION.run") || fatal "Can't get package URL"
epm pack --install $PKGNAME $PKGURL epm pack --install $PKGNAME "$PKGURL"
...@@ -9,6 +9,6 @@ URL="https://benchmark.unigine.com/valley" ...@@ -9,6 +9,6 @@ URL="https://benchmark.unigine.com/valley"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# https://assets.unigine.com/d/Unigine_valley-4.0.run # https://assets.unigine.com/d/Unigine_valley-4.0.run
PKGURL=$(eget --list --latest https://benchmark.unigine.com/valley "Unigine_Valley-$VERSION.run") PKGURL=$(eget --list --latest https://benchmark.unigine.com/valley "Unigine_Valley-$VERSION.run") || fatal "Can't get package URL"
epm pack --install $PKGNAME $PKGURL epm pack --install $PKGNAME "$PKGURL"
...@@ -22,7 +22,7 @@ case $vendor in ...@@ -22,7 +22,7 @@ case $vendor in
else else
VERSION="3.3.0" VERSION="3.3.0"
fi fi
PKGURL=https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_$arch/unityhub-amd64-$VERSION.deb PKGURL="https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_$arch/unityhub-amd64-$VERSION.deb"
epm install --repack "$PKGURL" epm install --repack "$PKGURL"
exit exit
;; ;;
......
...@@ -8,6 +8,6 @@ URL="https://github.com/upscayl/upscayl" ...@@ -8,6 +8,6 @@ URL="https://github.com/upscayl/upscayl"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(epm tool eget --list --latest https://github.com/upscayl/upscayl/releases "upscayl-$VERSION-linux.AppImage") PKGURL=$(eget --list --latest https://github.com/upscayl/upscayl/releases "upscayl-$VERSION-linux.AppImage") || fatal "Can't get package URL"
epm install $PKGURL epm install "$PKGURL"
...@@ -11,7 +11,8 @@ URL="https://vinteo.com" ...@@ -11,7 +11,8 @@ URL="https://vinteo.com"
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
[ "$VERSION" = "*" ] && VERSION="$(epm tool eget --list --latest https://download.vinteo.com/VinteoClient/linux/3.* | xargs basename)" [ "$VERSION" = "*" ] && VERSION="$(eget --list --latest https://download.vinteo.com/VinteoClient/linux/3.* | xargs basename)"
[ -n "$VERSION" ] || fatal "Can't get version"
# use rpm, but not for ALT # use rpm, but not for ALT
[ "$(epm print info -p)" = "rpm" ] && [ "$(epm print info -s)" != "alt" ] && pkgtype=rpm [ "$(epm print info -p)" = "rpm" ] && [ "$(epm print info -s)" != "alt" ] && pkgtype=rpm
......
...@@ -21,4 +21,4 @@ fi ...@@ -21,4 +21,4 @@ fi
PKGURL="https://download.virtualbox.org/virtualbox/$VERSION/Oracle_VM_VirtualBox_Extension_Pack-$VERSION.vbox-extpack" PKGURL="https://download.virtualbox.org/virtualbox/$VERSION/Oracle_VM_VirtualBox_Extension_Pack-$VERSION.vbox-extpack"
epm pack --install $PKGNAME $PKGURL epm pack --install $PKGNAME "$PKGURL"
#!/bin/sh #!/bin/sh
BASEPKGNAME=vivaldi BASEPKGNAME=vivaldi
PRODUCTALT="stable snapshot" PRODUCTALT="stable snapshot"
VERSION="$2" VERSION="$2"
...@@ -36,11 +35,11 @@ if [ "$PKGNAME" = "$BASEPKGNAME-snapshot" ] ; then ...@@ -36,11 +35,11 @@ if [ "$PKGNAME" = "$BASEPKGNAME-snapshot" ] ; then
# https://help.vivaldi.com/desktop/install-update/install-snapshots-on-non-deb-rpm-distros/ # https://help.vivaldi.com/desktop/install-update/install-snapshots-on-non-deb-rpm-distros/
DEBARCH=$arch DEBARCH=$arch
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
VERSION=$(epm tool eget -O- "https://repo.vivaldi.com/archive/deb/dists/stable/main/binary-$DEBARCH/Packages.gz" | gzip -d | grep -A6 -x "Package: $PKGNAME" | sed -n 's/^Version: \(\([0-9]\+\.\)\{3\}[0-9]\+-[0-9]\+\)/\1/p' | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1) #' VERSION=$(eget -O- "https://repo.vivaldi.com/archive/deb/dists/stable/main/binary-$DEBARCH/Packages.gz" | gzip -d | grep -A6 -x "Package: $PKGNAME" | sed -n 's/^Version: \(\([0-9]\+\.\)\{3\}[0-9]\+-[0-9]\+\)/\1/p' | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1) #'
fi fi
PKGURL="https://downloads.vivaldi.com/snapshot/vivaldi-snapshot_${VERSION}_$arch.deb" PKGURL="https://downloads.vivaldi.com/snapshot/vivaldi-snapshot_${VERSION}_$arch.deb"
else else
PKGURL="$(epm tool eget --list --latest https://vivaldi.com/ru/download "$(epm print constructname $PKGNAME "$VERSION" $arch deb)")" #" || fatal PKGURL="$(eget --list --latest https://vivaldi.com/ru/download "$(epm print constructname $PKGNAME "$VERSION" $arch deb)")" #" || fatal
fi fi
epm install $PKGURL || fatal epm install $PKGURL || fatal
......
...@@ -19,9 +19,9 @@ case "$pkgtype" in ...@@ -19,9 +19,9 @@ case "$pkgtype" in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest "$URL" "$PKGNAME.$pkgtype") PKGURL="$(eget --list --latest "$URL" "$PKGNAME.$pkgtype")" || fatal "Can't get package URL"
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm $repack install $PKGURL epm $repack install "$PKGURL"
...@@ -15,6 +15,6 @@ case "$arch" in ...@@ -15,6 +15,6 @@ case "$arch" in
;; ;;
esac esac
PKGURL=$(epm tool eget --list --latest https://desktop.userapi.com/rpm/master/ "$PKGNAME-$VERSION.$arch.rpm") PKGURL="$(eget --list --latest https://desktop.userapi.com/rpm/master/ "$PKGNAME-$VERSION.$arch.rpm")" || fatal "Can't get package URL"
epm --repack install $PKGURL epm install --repack "$PKGURL"
...@@ -9,4 +9,7 @@ URL="https://calls.vk.com/" ...@@ -9,4 +9,7 @@ URL="https://calls.vk.com/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
epm install "https://vkcalls-native-ac.vk-apps.com/latest/vk-calls-amd64.deb" || exit
PKGURL="https://vkcalls-native-ac.vk-apps.com/latest/vk-calls-amd64.deb"
epm install "$PKGURL"
...@@ -31,5 +31,5 @@ esac ...@@ -31,5 +31,5 @@ esac
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
PKGURL="$(eget --list --latest https://www.hamrick.com/alternate-versions.html "$file*.$pkgtype" )" PKGURL="$(eget --list --latest https://www.hamrick.com/alternate-versions.html "$file*.$pkgtype" )" || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -11,7 +11,6 @@ URL="https://github.com/nroduit/Weasis" ...@@ -11,7 +11,6 @@ URL="https://github.com/nroduit/Weasis"
arch="$(epm print info --debian-arch)" arch="$(epm print info --debian-arch)"
file="weasis_$VERSION-1_$arch.deb" file="weasis_$VERSION-1_$arch.deb"
PKGURL=$(epm tool eget --list --latest https://github.com/nroduit/Weasis/releases $file) || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/nroduit/Weasis/releases $file) || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -24,7 +24,7 @@ esac ...@@ -24,7 +24,7 @@ esac
pkgtype=AppImage pkgtype=AppImage
PKGURL=$(epm tool eget --list --latest https://github.com/SpacingBat3/WebCord/releases "WebCord-$VERSION-$arch.$pkgtype") PKGURL=$(eget --list --latest https://github.com/SpacingBat3/WebCord/releases "WebCord-$VERSION-$arch.$pkgtype")
[ -n "$PKGURL" ] || fatal "Can't get package URL" [ -n "$PKGURL" ] || fatal "Can't get package URL"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -8,6 +8,6 @@ URL="https://github.com/yar229/WebDavMailRuCloud" ...@@ -8,6 +8,6 @@ URL="https://github.com/yar229/WebDavMailRuCloud"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(epm tool eget --list --latest https://github.com/yar229/WebDavMailRuCloud/releases "WebDAVCloudMailRu-${VERSION}-dotNet6.zip") || fatal PKGURL=$(eget --list --latest https://github.com/yar229/WebDavMailRuCloud/releases "WebDAVCloudMailRu-${VERSION}-dotNet6.zip") || fatal
epm pack --install $PKGNAME $PKGURL epm pack --install $PKGNAME $PKGURL
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment