Commit 155cb2e9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play.d/common.sh: implement install_pkgurl and install_pack_pkgurl and use…

epm play.d/common.sh: implement install_pkgurl and install_pack_pkgurl and use it (repack rpm packages for any distro)
parent 58743d9d
...@@ -9,6 +9,7 @@ URL="https://1c-connect.com" ...@@ -9,6 +9,7 @@ URL="https://1c-connect.com"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
PKGURL="https://updates.1c-connect.com/desktop/distribs/1C-Connect-Linux-x64.tar.gz" PKGURL="https://updates.1c-connect.com/desktop/distribs/1C-Connect-Linux-x64.tar.gz"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -25,7 +25,4 @@ case $pkgtype in ...@@ -25,7 +25,4 @@ case $pkgtype in
;; ;;
esac esac
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm $repack install "$PKGURL"
...@@ -19,10 +19,6 @@ case $arch in ...@@ -19,10 +19,6 @@ case $arch in
fatal "Unsupported arch $arch for $(epm print info -d)" fatal "Unsupported arch $arch for $(epm print info -d)"
esac esac
# we have workaround for their postinstall script, so always repack rpm package
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
# rpm packages have a release in their names # rpm packages have a release in their names
[ "$(epm print info -p)" = "rpm" ] && [ "$VERSION" != "*" ] && VERSION="$VERSION-1" [ "$(epm print info -p)" = "rpm" ] && [ "$VERSION" != "*" ] && VERSION="$VERSION-1"
...@@ -43,7 +39,7 @@ PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch '' '_')" ...@@ -43,7 +39,7 @@ PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch '' '_')"
PKGURL="$(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 install_pkgurl
echo echo
echo "Note: run echo "Note: run
......
...@@ -25,4 +25,4 @@ else ...@@ -25,4 +25,4 @@ else
PKGURL=$(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" install_pkgurl
...@@ -14,4 +14,6 @@ VERSION="0.27.5" ...@@ -14,4 +14,6 @@ VERSION="0.27.5"
# https://audiorelay.net/downloads # https://audiorelay.net/downloads
# TODO: https://api.audiorelay.net/downloads # TODO: https://api.audiorelay.net/downloads
epm install "https://dl.audiorelay.net/setups/linux/audiorelay-$VERSION.deb" PKGURL="https://dl.audiorelay.net/setups/linux/audiorelay-$VERSION.deb"
install_pkgurl
...@@ -20,7 +20,4 @@ esac ...@@ -20,7 +20,4 @@ esac
PKGURL=$(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='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -20,7 +20,4 @@ case $pkgtype in ...@@ -20,7 +20,4 @@ case $pkgtype in
;; ;;
esac esac
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -23,8 +23,5 @@ esac ...@@ -23,8 +23,5 @@ esac
PKGURL=$(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 install_pkgurl
[ "$pkgtype" = "deb" ] || repack='--repack'
epm install $repack "$PKGURL" || exit
...@@ -14,4 +14,4 @@ else ...@@ -14,4 +14,4 @@ else
PKGURL="https://downloads.bitwig.com/$VERSION/bitwig-studio-$VERSION.deb" PKGURL="https://downloads.bitwig.com/$VERSION/bitwig-studio-$VERSION.deb"
fi fi
epm install $PKGURL install_pkgurl
...@@ -8,16 +8,9 @@ DESCRIPTION="Brave browser from the official site" ...@@ -8,16 +8,9 @@ DESCRIPTION="Brave browser from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
repack=''
# we have workaround for their postinstall script, so always repack rpm package
#[ "$(epm print info -p)" = "deb" ] || repack='--repack'
# repack for deb too, they have broken dependency on brave-keyring
repack='--repack'
# brave-browser-beta-1.51.105-1.x86_64.rpm # brave-browser-beta-1.51.105-1.x86_64.rpm
# brave-browser-beta_1.51.105_amd64.deb # brave-browser-beta_1.51.105_amd64.deb
# rpm packages have a release in their names # rpm packages have a release in their names
[ "$(epm print info -p)" = "rpm" ] && [ "$VERSION" != "*" ] && VERSION="$VERSION-1" [ "$(epm print info -p)" = "rpm" ] && [ "$VERSION" != "*" ] && VERSION="$VERSION-1"
...@@ -26,12 +19,13 @@ repack='--repack' ...@@ -26,12 +19,13 @@ repack='--repack'
PKGURL=$(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"))
# some hack
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
override_pkgname "$BASEPKGNAME-beta" override_pkgname "$BASEPKGNAME-beta"
PKGURL=$(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 ... "
...@@ -41,4 +35,7 @@ if [ -z "$PKGURL" ] ; then ...@@ -41,4 +35,7 @@ if [ -z "$PKGURL" ] ; then
fi fi
fi fi
epm $repack install "$PKGURL" # we have workaround for their postinstall script, so always repack rpm package
# repack for deb too, they have broken dependency on brave-keyring
# install_pkgurl
epm install --repack "$PKGURL"
...@@ -14,7 +14,7 @@ warn_version_is_not_supported ...@@ -14,7 +14,7 @@ warn_version_is_not_supported
VERSION="2022.3.1" VERSION="2022.3.1"
PKGURL="ipfs://Qma8WF8iPwgKNPM6UdZHWse4q1cTnPAvjMRkGsbbWYi18w?filename=cascadeur-linux.tgz" PKGURL="ipfs://Qma8WF8iPwgKNPM6UdZHWse4q1cTnPAvjMRkGsbbWYi18w?filename=cascadeur-linux.tgz"
# TODO: ask license # TODO: ask license
epm pack --install $PKGNAME "$PKGURL" "$VERSION" install_pack_pkgurl "$VERSION"
exit exit
# (liblapack.so.3) # (liblapack.so.3)
...@@ -25,5 +25,4 @@ VERSION=$(echo "$page" | grep 'main-download__info-version' | sed -e 's|.*<div c ...@@ -25,5 +25,4 @@ VERSION=$(echo "$page" | grep 'main-download__info-version' | sed -e 's|.*<div c
PKGURL="https://cdn.cascadeur.com/builds/linux/$BUILDID/cascadeur-linux_$VERSION.tgz" PKGURL="https://cdn.cascadeur.com/builds/linux/$BUILDID/cascadeur-linux_$VERSION.tgz"
# TODO: ask license # TODO: ask license
epm pack --install $PKGNAME "$PKGURL" "$VERSION" install_pack_pkgurl "$VERSION"
...@@ -13,4 +13,4 @@ is_openssl_enough 3 || fatal "There is no needed OpenSSL 3 in the system." ...@@ -13,4 +13,4 @@ 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=$(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" install_pkgurl
...@@ -10,17 +10,12 @@ DESCRIPTION='' # echo " Remote desktop support for google-chrome & chromium" && ...@@ -10,17 +10,12 @@ DESCRIPTION='' # echo " Remote desktop support for google-chrome & chromium" &&
echo "Note: It is not tested yet." echo "Note: It is not tested yet."
#arch=$(epm print info --distro-arch) #arch=$(epm print info --distro-arch)
#pkgtype=$(epm print info -p)
repack=''
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
# we have workaround for their postinstall script, so always repack rpm package PKGURL="https://dl.google.com/linux/direct/${PKGNAME}_current_$arch.$pkgtype"
[ "$(epm print info -p)" = "deb" ] || repack='--repack'
PKG="https://dl.google.com/linux/direct/${PKGNAME}_current_$arch.$pkgtype" install_pkgurl
epm install $repack "$PKG" || exit
echo ' echo '
You need run You need run
......
...@@ -9,10 +9,6 @@ URL="https://www.google.com/chrome/" ...@@ -9,10 +9,6 @@ URL="https://www.google.com/chrome/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
_channel="stable" _channel="stable"
repack=''
# we have workaround for their postinstall script, so always repack rpm package
[ "$(epm print info -p)" = "deb" ] || repack='--repack'
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype" PKGURL="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype"
...@@ -20,4 +16,4 @@ else ...@@ -20,4 +16,4 @@ else
PKGURL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-${_channel}/google-chrome-${_channel}_${VERSION}-1_amd64.deb" PKGURL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-${_channel}/google-chrome-${_channel}_${VERSION}-1_amd64.deb"
fi fi
epm install $repack "$PKGURL" install_pkgurl
...@@ -10,10 +10,9 @@ DESCRIPTION="Chromium with GOST support from the official site" ...@@ -10,10 +10,9 @@ DESCRIPTION="Chromium with GOST support from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
#arch=$(epm print info --distro-arch) #arch=$(epm print info --distro-arch)
#pkgtype=$(epm print info -p)
arch=amd64 arch=amd64
pkgtype=deb pkgtype=deb
PKGURL=$(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" install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/clion/" ...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/clion/"
PKGURL="$(get_jetbrains_pkgurl CL cpp)" PKGURL="$(get_jetbrains_pkgurl CL cpp)"
epm install $PKGURL install_pkgurl
...@@ -14,4 +14,4 @@ else ...@@ -14,4 +14,4 @@ else
PKGURL="$(eget --list --latest https://clipgrab.org/ "ClipGrab-*-x86_64.AppImage")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://clipgrab.org/ "ClipGrab-*-x86_64.AppImage")" || fatal "Can't get package URL"
fi fi
epm install $PKGURL install_pkgurl
...@@ -26,16 +26,13 @@ esac ...@@ -26,16 +26,13 @@ esac
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
# we have workaround for their postinstall script, so always repack rpm package
[ "$pkgtype" = "deb" ] || repack='--repack'
if [ "$VERSION" != "*" ] ; then if [ "$VERSION" != "*" ] ; then
URL="https://update.code.visualstudio.com/$VERSION/linux-$pkgtype-$arch/stable" PKGURL="https://update.code.visualstudio.com/$VERSION/linux-$pkgtype-$arch/stable"
else else
URL="https://code.visualstudio.com/sha/download?build=stable&os=linux-$pkgtype-$arch" PKGURL="https://code.visualstudio.com/sha/download?build=stable&os=linux-$pkgtype-$arch"
fi fi
epm install $repack "$URL" || exit install_pkgurl
echo echo
echo "NOTE: VS Code is a proprietary build. We recommend you to use open source editors: Codium, Atom." echo "NOTE: VS Code is a proprietary build. We recommend you to use open source editors: Codium, Atom."
...@@ -30,10 +30,8 @@ case "$arch-$pkgtype" in ...@@ -30,10 +30,8 @@ case "$arch-$pkgtype" in
esac esac
PKGURL="$(eget --list --latest https://github.com/VSCodium/vscodium/releases "$(epm print constructname $PKGNAME "$VERSION*" $arch $pkgtype)")" || fatal "Can't get package URL" mask="$(epm print constructname $PKGNAME "$VERSION*" $arch $pkgtype)"
PKGURL="$(eget --list --latest https://github.com/VSCodium/vscodium/releases "$mask")" || fatal "Can't get package URL"
# we have workaround for their postinstall script, so always repack rpm package install_pkgurl
[ "$pkgtype" = "deb" ] || repack='--repack'
epm install $repack "$PKGURL" || exit
...@@ -14,6 +14,6 @@ VERSION="$(eget -O- https://www.commfort.com/ru/download.shtml | grep "Верс ...@@ -14,6 +14,6 @@ VERSION="$(eget -O- https://www.commfort.com/ru/download.shtml | grep "Верс
[ -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
INSTALLURL="https://www.commfort.com/download/commfort_client_wine.exe" PKGURL="https://www.commfort.com/download/commfort_client_wine.exe"
epm pack --install $PKGNAME $INSTALLURL $VERSION install_pack_pkgurl $VERSION
...@@ -104,6 +104,37 @@ override_pkgname() ...@@ -104,6 +104,37 @@ override_pkgname()
export EEPM_INTERNAL_PKGNAME="$PKGNAME" export EEPM_INTERNAL_PKGNAME="$PKGNAME"
} }
# epm install $PKGURL
install_pkgurl()
{
local repack=''
local pkgtype="$(epm print info -p)"
# we have workaround for their postinstall script, so always repack rpm package
# TODO: repack for deb systems too
[ "$pkgtype" = "rpm" ] && repack='--repack'
[ -n "$PKGURL" ] || fatal "Can't get package URL"
epm install $repack "$PKGURL" "$@" || exit
}
# epm pack --install $PKGNAME "$PKGURL"
install_pack_pkgurl()
{
local repack=''
local pkgtype="$(epm print info -p)"
# we have workaround for their postinstall script, so always repack rpm package
# TODO: repack for deb systems too
[ "$pkgtype" = "rpm" ] && repack='--repack'
[ -n "$PKGURL" ] || fatal "Can't get package URL"
epm pack $repack --install $PKGNAME "$PKGURL" "$@"
}
get_latest_version() get_latest_version()
{ {
local ver local ver
......
...@@ -20,7 +20,6 @@ case "$arch" in ...@@ -20,7 +20,6 @@ case "$arch" in
;; ;;
esac esac
#pkgtype="$(epm print info -p)"
PKGURL="$(eget --list --latest https://cuda-z.sourceforge.net/ "$file" )" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://cuda-z.sourceforge.net/ "$file" )" || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL"
install_pack_pkgurl
...@@ -20,4 +20,4 @@ case $pkgtype in ...@@ -20,4 +20,4 @@ case $pkgtype in
;; ;;
esac esac
epm install "$PKGURL" install_pkgurl
...@@ -14,4 +14,4 @@ else ...@@ -14,4 +14,4 @@ else
PKGURL="https://dl.discordapp.net/apps/linux/$VERSION/discord-$VERSION.deb" PKGURL="https://dl.discordapp.net/apps/linux/$VERSION/discord-$VERSION.deb"
fi fi
epm install "$PKGURL" install_pkgurl
...@@ -21,7 +21,4 @@ arch=amd64 ...@@ -21,7 +21,4 @@ arch=amd64
PKGURL=$(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='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -20,10 +20,9 @@ case $pkgtype in ...@@ -20,10 +20,9 @@ case $pkgtype in
;; ;;
esac esac
repack='' # TODO: rpm and deb packages has diffent binaries
if [ "$(epm print info -s)" = "alt" ] ; then #if [ "$(epm print info -s)" = "alt" ] ; then
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"
repack='--repack' #fi
fi
epm install $repack "$PKGURL" install_pkgurl
...@@ -12,4 +12,4 @@ pkgtype=deb ...@@ -12,4 +12,4 @@ pkgtype=deb
PKGURL=$(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" install_pkgurl
...@@ -17,4 +17,4 @@ SELECTOR="preview" ...@@ -17,4 +17,4 @@ SELECTOR="preview"
PKGURL=$(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" install_pack_pkgurl
...@@ -12,10 +12,7 @@ warn_version_is_not_supported ...@@ -12,10 +12,7 @@ warn_version_is_not_supported
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
# we have workaround for their postinstall script, so always repack rpm package
[ "$pkgtype" = "deb" ] || repack='--repack'
#PKG=$(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"
PKGURL="$(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 "$PKGURL" install_pkgurl
...@@ -13,20 +13,9 @@ VERSION=9.6.2 ...@@ -13,20 +13,9 @@ VERSION=9.6.2
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" IPFSURL="ipfs://Qmd38jJnTnUMUeJuKSDBGesqXF3SxEahUVZc6NUPyMKgj1?filename=Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz"
# use temp dir
PKGDIR="$(mktemp -d)"
trap "rm -fr $PKGDIR" EXIT
cd $PKGDIR || fatal
if ! eget --check-site $PKGURL ; then if ! eget --check-site $PKGURL ; then
echo "It is possible you are blocked from USA, trying via IPFS ..." echo "It is possible you are blocked from USA, trying via IPFS ..."
PKGURL="$IPFSURL" PKGURL="$IPFSURL"
fi fi
epm install --repack $PKGURL || exit install_pkgurl
echo
echo "
Run via
$ eagle
"
...@@ -8,4 +8,6 @@ DESCRIPTION="Microsoft Edge browser (dev) from the official site" ...@@ -8,4 +8,6 @@ DESCRIPTION="Microsoft Edge browser (dev) from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
epm install "https://packages.microsoft.com/repos/edge/pool/main/m/$PKGNAME/${PKGNAME}_${VERSION}-[12]_amd64.deb" PKGURL="https://packages.microsoft.com/repos/edge/pool/main/m/$PKGNAME/${PKGNAME}_${VERSION}-[12]_amd64.deb"
install_pkgurl
...@@ -16,4 +16,4 @@ arch="amd64" ...@@ -16,4 +16,4 @@ arch="amd64"
mask="$(epm print constructname $PKGNAME "$VERSION" $arch "deb")" 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" 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 "$PKGURL" install_pkgurl
...@@ -24,10 +24,7 @@ case "$pkgtype-$arch" in ...@@ -24,10 +24,7 @@ case "$pkgtype-$arch" in
;; ;;
esac esac
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL" || exit
echo echo
echo "Note: run echo "Note: run
......
...@@ -24,7 +24,4 @@ case "$pkgtype-$arch" in ...@@ -24,7 +24,4 @@ case "$pkgtype-$arch" in
;; ;;
esac esac
repack='' install_pack_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm pack $repack --install $PKGNAME "$PKGURL"
...@@ -24,7 +24,4 @@ case "$pkgtype-$arch" in ...@@ -24,7 +24,4 @@ case "$pkgtype-$arch" in
;; ;;
esac esac
repack='' install_pack_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm pack $repack --install $PKGNAME "$PKGURL"
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://express.ms/download/deb" PKGURL="https://express.ms/download/deb"
epm install $PKGURL install_pkgurl
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL=$(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" install_pack_pkgurl
...@@ -27,8 +27,5 @@ esac ...@@ -27,8 +27,5 @@ esac
PKGURL=$(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='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL" || exit
...@@ -14,4 +14,4 @@ arch=x86_64 ...@@ -14,4 +14,4 @@ arch=x86_64
VERSION="*" VERSION="*"
PKGURL="https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$VERSION.en-US.linux-$arch.deb" PKGURL="https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$VERSION.en-US.linux-$arch.deb"
epm install "$PKGURL" install_pkgurl
...@@ -13,4 +13,4 @@ warn_version_is_not_supported ...@@ -13,4 +13,4 @@ warn_version_is_not_supported
VERSION=32.0.0.465 VERSION=32.0.0.465
PKGURL="https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz" PKGURL="https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz"
epm pack --install $PKGNAME $PKGURL "$VERSION" install_pack_pkgurl "$VERSION"
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
#PKG="$(eget --list --latest https://flyviewvms.ru/downloads/ "flyview-client*linux64.deb")" #PKG="$(eget --list --latest https://flyviewvms.ru/downloads/ "flyview-client*linux64.deb")"
PKGURL="https://flyviewvms.ru/distro/flyview-client.deb" PKGURL="https://flyviewvms.ru/distro/flyview-client.deb"
epm install $PKGURL install_pkgurl
...@@ -12,7 +12,7 @@ warn_version_is_not_supported ...@@ -12,7 +12,7 @@ warn_version_is_not_supported
#PKG="$(eget --list --latest https://flyviewvms.ru/downloads/ "flyview-server*linux64.deb")" #PKG="$(eget --list --latest https://flyviewvms.ru/downloads/ "flyview-server*linux64.deb")"
PKGURL="https://flyviewvms.ru/distro/flyview-server.deb" PKGURL="https://flyviewvms.ru/distro/flyview-server.deb"
epm install $PKGURL || exit install_pkgurl
echo echo
echo " echo "
......
...@@ -20,7 +20,4 @@ esac ...@@ -20,7 +20,4 @@ esac
PKGURL="$(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='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -11,4 +11,4 @@ URL="http://freeplane.sourceforge.net" ...@@ -11,4 +11,4 @@ URL="http://freeplane.sourceforge.net"
[ "$VERSION" = "*" ] && VERSION="$(eget -O- https://sourceforge.net/projects/$PKGNAME/best_release.json | sed -e 's|.*freeplane_bin-||g' -e 's|\.zip.*||')" [ "$VERSION" = "*" ] && VERSION="$(eget -O- https://sourceforge.net/projects/$PKGNAME/best_release.json | sed -e 's|.*freeplane_bin-||g' -e 's|\.zip.*||')"
PKGURL="https://download.sourceforge.net/project/freeplane/freeplane%20stable/freeplane_$VERSION~upstream-1_all.deb" PKGURL="https://download.sourceforge.net/project/freeplane/freeplane%20stable/freeplane_$VERSION~upstream-1_all.deb"
epm install "$PKGURL" install_pkgurl
...@@ -20,15 +20,12 @@ esac ...@@ -20,15 +20,12 @@ esac
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
case $pkgtype in case $pkgtype in
#deb) #deb)
# epm install "https://www.geogebra.net/linux/pool/main/g/geogebra-classic/$(epm print constructname $PKGNAME "$VERSION" $arch)" # epm install "https://www.geogebra.net/linux/pool/main/g/geogebra-classic/$(epm print constructname $PKGNAME "$VERSION" $arch)"
# ;; # ;;
rpm) rpm)
#epm $repack install "https://www.geogebra.net/linux/rpm/$arch/$(epm print constructname $PKGNAME "$VERSION" $arch)" #PKGURL="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
PKGURL="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"
;; ;;
...@@ -37,4 +34,4 @@ case $pkgtype in ...@@ -37,4 +34,4 @@ case $pkgtype in
;; ;;
esac esac
epm $repack install "$PKGURL" install_pkgurl
...@@ -20,8 +20,4 @@ case $pkgtype in ...@@ -20,8 +20,4 @@ case $pkgtype in
;; ;;
esac esac
if [ "$(epm print info -s)" = "alt" ] ; then install_pkgurl
repack="--repack"
fi
epm install $repack "$PKGURL"
...@@ -25,13 +25,8 @@ case "$arch" in ...@@ -25,13 +25,8 @@ case "$arch" in
;; ;;
esac esac
repack=''
case $(epm print info -e) in
ALTLinux/*)
repack='--repack'
;;
esac
# https://docs.gitlab.com/runner/install/linux-manually.html # https://docs.gitlab.com/runner/install/linux-manually.html
# https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html # https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html
epm install $repack "https://gitlab-runner-downloads.s3.amazonaws.com/latest/$pkg/gitlab-runner_${arch}.$pkg" PKGURL="https://gitlab-runner-downloads.s3.amazonaws.com/latest/$pkg/gitlab-runner_${arch}.$pkg"
install_pkgurl
...@@ -30,10 +30,7 @@ esac ...@@ -30,10 +30,7 @@ esac
PKGURL=$(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='' install_pack_pkgurl "$VERSION"
[ "$pkgtype" = "rpm" ] && repack='--repack'
epm pack $PKGNAME $repack --install "$PKGURL" "$VERSION" || exit
cat <<EOF cat <<EOF
......
...@@ -15,4 +15,4 @@ VERSION="${VERSION/\./_}" ...@@ -15,4 +15,4 @@ VERSION="${VERSION/\./_}"
PKGURL="https://cache.hansoft.com/hansoft_${VERSION}_x64.deb" PKGURL="https://cache.hansoft.com/hansoft_${VERSION}_x64.deb"
epm install "$PKGURL" install_pkgurl
...@@ -18,4 +18,4 @@ fi ...@@ -18,4 +18,4 @@ fi
# https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-$VERSION-plugin.run # https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-$VERSION-plugin.run
PKGURL="https://developers.hp.com/sites/default/files/hplip-$VERSION-plugin.run" PKGURL="https://developers.hp.com/sites/default/files/hplip-$VERSION-plugin.run"
epm pack --install $PKGNAME $PKGURL install_pack_pkgurl
...@@ -40,7 +40,4 @@ if ! eget --check-site $PKGURL ; then ...@@ -40,7 +40,4 @@ if ! eget --check-site $PKGURL ; then
PKGURL="ipfs://$IPFSHASH?filename=$pkgname" PKGURL="ipfs://$IPFSHASH?filename=$pkgname"
fi fi
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack $PKGURL
...@@ -16,4 +16,5 @@ fi ...@@ -16,4 +16,5 @@ fi
# TODO: install from snap # TODO: install from snap
#PKGURL="https://icq-www.hb.bizmrg.com/linux/x64/icq.tar.xz" #PKGURL="https://icq-www.hb.bizmrg.com/linux/x64/icq.tar.xz"
PKGURL="https://hb.bizmrg.com/icq-www/linux/x64/packages/$VERSION/icq-${VERSION}_64bit.tar.xz" PKGURL="https://hb.bizmrg.com/icq-www/linux/x64/packages/$VERSION/icq-${VERSION}_64bit.tar.xz"
epm install --repack "$PKGURL"
install_pkgurl
...@@ -10,5 +10,4 @@ URL="https://www.jetbrains.com/idea/" ...@@ -10,5 +10,4 @@ URL="https://www.jetbrains.com/idea/"
PKGURL="$(get_jetbrains_pkgurl IIC idea)" PKGURL="$(get_jetbrains_pkgurl IIC idea)"
epm install $PKGURL install_pkgurl
...@@ -10,5 +10,5 @@ URL="https://www.jetbrains.com/idea/" ...@@ -10,5 +10,5 @@ URL="https://www.jetbrains.com/idea/"
PKGURL="$(get_jetbrains_pkgurl IIU idea)" PKGURL="$(get_jetbrains_pkgurl IIU idea)"
epm install $PKGURL install_pkgurl
...@@ -22,4 +22,4 @@ pkgtype=deb ...@@ -22,4 +22,4 @@ pkgtype=deb
PKGURL=$(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"
epm install "$PKGURL" install_pkgurl
...@@ -12,9 +12,8 @@ warn_version_is_not_supported ...@@ -12,9 +12,8 @@ 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
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 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:]]||' -e 's|"||g' )
# eval for drop quotes install_pack_pkgurl
eval epm pack --install $PKGNAME $PKGURL
...@@ -10,4 +10,4 @@ URL="https://joplinapp.org/" ...@@ -10,4 +10,4 @@ URL="https://joplinapp.org/"
PKGURL="$(eget --list --latest https://github.com/laurent22/joplin/releases/ "Joplin-$VERSION.AppImage")" PKGURL="$(eget --list --latest https://github.com/laurent22/joplin/releases/ "Joplin-$VERSION.AppImage")"
epm install $PKGURL install_pkgurl
...@@ -33,4 +33,5 @@ else ...@@ -33,4 +33,5 @@ else
fi fi
VERSION="$(echo "$PKGURL" | sed -e 's|.*download/v||' -e 's|%2Bk3s1.*||' -e 's|+k3s1.*||' -e 's|-.*||')" VERSION="$(echo "$PKGURL" | sed -e 's|.*download/v||' -e 's|%2Bk3s1.*||' -e 's|+k3s1.*||' -e 's|-.*||')"
epm pack --install $PKGNAME "$PKGURL" $VERSION
install_pack_pkgurl $VERSION
...@@ -14,4 +14,6 @@ PKGURL="https://app.ktalk.ru/system/dist/download/linux" ...@@ -14,4 +14,6 @@ PKGURL="https://app.ktalk.ru/system/dist/download/linux"
# curl can't get filename: https://github.com/curl/curl/issues/8461 # curl can't get filename: https://github.com/curl/curl/issues/8461
epm assure wget || fatal epm assure wget || fatal
EGET_BACKEND=wget epm pack --install $PKGNAME $PKGURL export EGET_BACKEND=wget
install_pack_pkgurl
...@@ -39,4 +39,5 @@ esac ...@@ -39,4 +39,5 @@ esac
PKGURL="$(eget --list --latest https://github.com/ipfs/kubo/releases "${BASEPKGNAME}_v${VERSION}$file")" PKGURL="$(eget --list --latest https://github.com/ipfs/kubo/releases "${BASEPKGNAME}_v${VERSION}$file")"
epm pack --install $PKGNAME "$PKGURL"
install_pack_pkgurl
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://www.kyoceradocumentsolutions.de/content/download-center/de/drivers/all/SANE_Driver_zip.download.zip" PKGURL="https://www.kyoceradocumentsolutions.de/content/download-center/de/drivers/all/SANE_Driver_zip.download.zip"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="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 "$PKGURL" install_pack_pkgurl
...@@ -27,7 +27,4 @@ if ! is_glibc_enough 2.35 ; then ...@@ -27,7 +27,4 @@ if ! is_glibc_enough 2.35 ; then
PKGURL="https://deb.librewolf.net/pool/focal/librewolf-$VERSION-[0-9].$arch.deb" PKGURL="https://deb.librewolf.net/pool/focal/librewolf-$VERSION-[0-9].$arch.deb"
fi fi
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -11,6 +11,5 @@ URL="https://github.com/visualfc/liteide" ...@@ -11,6 +11,5 @@ URL="https://github.com/visualfc/liteide"
archbit="$(epm print info -b)" archbit="$(epm print info -b)"
PKGURL=$(eget --list --latest https://github.com/visualfc/liteide/releases "liteidex$VERSION.linux$archbit-qt5*-system.tar.gz") #" PKGURL=$(eget --list --latest https://github.com/visualfc/liteide/releases "liteidex$VERSION.linux$archbit-qt5*-system.tar.gz") #"
[ -n "$PKGURL" ] || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -27,14 +27,8 @@ case $pkgtype in ...@@ -27,14 +27,8 @@ case $pkgtype in
;; ;;
esac esac
repack=''
case $(epm print info -s) in
alt)
repack="--repack"
esac
# https://www.lecad.ru/?download=&kcccount=https://www.lecad.ru/wp-content/uploads/lithium-ecad_1.7.5_amd64.deb # https://www.lecad.ru/?download=&kcccount=https://www.lecad.ru/wp-content/uploads/lithium-ecad_1.7.5_amd64.deb
# https://www.lecad.ru/?download=&kcccount=https://www.lecad.ru/wp-content/uploads/lithium_ecad-1.7.5-0.x86_64.rpm # https://www.lecad.ru/?download=&kcccount=https://www.lecad.ru/wp-content/uploads/lithium_ecad-1.7.5-0.x86_64.rpm
PKGURL="$(eget --list --latest https://www.lecad.ru/actual-version/ "$mask")" PKGURL="$(eget --list --latest https://www.lecad.ru/actual-version/ "$mask")"
epm $repack install "$PKGURL" install_pkgurl
...@@ -11,4 +11,4 @@ URL="https://github.com/logseq/logseq" ...@@ -11,4 +11,4 @@ URL="https://github.com/logseq/logseq"
# https://github.com/logseq/logseq/releases/download/0.9.5/Logseq-linux-x64-0.9.5.AppImage # https://github.com/logseq/logseq/releases/download/0.9.5/Logseq-linux-x64-0.9.5.AppImage
PKGURL=$(eget --list https://github.com/logseq/logseq/releases/ "Logseq-linux-x64-$VERSION.AppImage" | grep -v nightly | head -n1) || fatal "Can't get package URL" PKGURL=$(eget --list https://github.com/logseq/logseq/releases/ "Logseq-linux-x64-$VERSION.AppImage" | grep -v nightly | head -n1) || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -31,4 +31,4 @@ fi ...@@ -31,4 +31,4 @@ fi
# https://icons8.ru/lunacy # https://icons8.ru/lunacy
PKGURL="https://lcdn.icons8.com/setup/$file" PKGURL="https://lcdn.icons8.com/setup/$file"
epm install $PKGURL install_pkgurl
...@@ -33,4 +33,4 @@ if ! eget --check-url "$PKGURL" ; then ...@@ -33,4 +33,4 @@ if ! eget --check-url "$PKGURL" ; then
fi fi
fi fi
epm install $PKGURL install_pkgurl
...@@ -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 $PKGNAME "$PKGURL" $VERSION install_pack_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"
......
...@@ -15,4 +15,4 @@ pkgtype=deb ...@@ -15,4 +15,4 @@ pkgtype=deb
PKGURL=$(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" install_pkgurl
...@@ -9,7 +9,6 @@ URL="https://master-pdf-editor.ru/" ...@@ -9,7 +9,6 @@ URL="https://master-pdf-editor.ru/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKG='' PKG=''
repack=''
# Strict supported list # Strict supported list
case $(epm print info -e) in case $(epm print info -e) in
AstraLinuxCE/*|Debian/9|Ubuntu/18) AstraLinuxCE/*|Debian/9|Ubuntu/18)
...@@ -20,14 +19,12 @@ case $(epm print info -e) in ...@@ -20,14 +19,12 @@ case $(epm print info -e) in
;; ;;
RedOS/*|AlterOS/*|ALTLinux/*|CentOS/*|RockyLinux/*) 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'
;; ;;
esac 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"
;; ;;
*) *)
...@@ -38,4 +35,4 @@ fi ...@@ -38,4 +35,4 @@ fi
PKGURL=$(eget --list --latest https://code-industry.ru/get-master-pdf-editor-for-linux/ "$PKG") || fatal "Can't get package URL" 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" install_pkgurl
...@@ -23,5 +23,5 @@ esac ...@@ -23,5 +23,5 @@ esac
PKGURL=$(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" install_pkgurl
...@@ -14,4 +14,4 @@ else ...@@ -14,4 +14,4 @@ else
PKGURL=$(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" install_pkgurl
...@@ -11,5 +11,6 @@ URL="https://www.minecraft.net/en-us/download" ...@@ -11,5 +11,6 @@ URL="https://www.minecraft.net/en-us/download"
warn_version_is_not_supported warn_version_is_not_supported
# https://www.minecraft.net/en-us/download # https://www.minecraft.net/en-us/download
epm install "https://launcher.mojang.com/download/Minecraft.deb" PKGURL="https://launcher.mojang.com/download/Minecraft.deb"
install_pkgurl
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://download.mobirise.com/MobiriseSetup.deb" PKGURL="https://download.mobirise.com/MobiriseSetup.deb"
epm install "$PKGURL" install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://mytonwallet.app/" ...@@ -10,4 +10,4 @@ URL="https://mytonwallet.app/"
PKGURL=$(eget --list --latest https://github.com/mytonwalletorg/mytonwallet/releases "MyTonWallet-x86_64.AppImage") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/mytonwalletorg/mytonwallet/releases "MyTonWallet-x86_64.AppImage") || fatal "Can't get package URL"
epm install "$PKGURL" install_pkgurl
...@@ -10,5 +10,5 @@ URL="https://neovide.dev/" ...@@ -10,5 +10,5 @@ URL="https://neovide.dev/"
PKGURL=$(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" install_pkgurl
...@@ -26,4 +26,5 @@ esac ...@@ -26,4 +26,5 @@ esac
# epm install "https://dlcdn.apache.org/netbeans/netbeans-installers/$VERSION/$mask" # epm install "https://dlcdn.apache.org/netbeans/netbeans-installers/$VERSION/$mask"
PKGURL="https://archive.apache.org/dist/netbeans/netbeans-installers/$VERSION/$mask" PKGURL="https://archive.apache.org/dist/netbeans/netbeans-installers/$VERSION/$mask"
epm install "$PKGURL"
install_pkgurl
...@@ -17,4 +17,4 @@ pkgtype=deb ...@@ -17,4 +17,4 @@ 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=$(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" install_pkgurl
...@@ -11,4 +11,4 @@ URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/" ...@@ -11,4 +11,4 @@ URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/"
# 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=$(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 install_pack_pkgurl
...@@ -13,4 +13,4 @@ pkgtype=deb ...@@ -13,4 +13,4 @@ pkgtype=deb
PKGURL=$(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" install_pkgurl
...@@ -44,5 +44,4 @@ fi ...@@ -44,5 +44,4 @@ fi
#PKGURL="https://download.onlyoffice.com/install/desktop/editors/linux/" #PKGURL="https://download.onlyoffice.com/install/desktop/editors/linux/"
#PKGURL="$(eget --list --latest https://github.com/ONLYOFFICE/DesktopEditors/releases $(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype))" #PKGURL="$(eget --list --latest https://github.com/ONLYOFFICE/DesktopEditors/releases $(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype))"
# use --repack to apply repack script for all platforms install_pkgurl
epm install --repack "$PKGURL"
...@@ -18,11 +18,9 @@ if [ "$(epm print info -p)" = "rpm" ] ; then ...@@ -18,11 +18,9 @@ if [ "$(epm print info -p)" = "rpm" ] ; then
pkgname="${PKGNAME/-/_}" pkgname="${PKGNAME/-/_}"
# they put all branch here (rpm only): https://rpm.opera.com/rpm/ # they put all branch here (rpm only): https://rpm.opera.com/rpm/
[ "$(epm print info -s)" = "alt" ] && repack='--repack' || repack=''
PKGURL="https://rpm.opera.com/rpm/$pkgname-$VERSION-linux-release-x64-signed.rpm" PKGURL="https://rpm.opera.com/rpm/$pkgname-$VERSION-linux-release-x64-signed.rpm"
epm install $repack "$PKGURL" else
exit PKGURL="https://deb.opera.com/opera-developer/pool/non-free/o/$PKGNAME/$(epm print constructname $PKGNAME "$VERSION" $arch deb)"
fi fi
PKGURL="https://deb.opera.com/opera-developer/pool/non-free/o/$PKGNAME/$(epm print constructname $PKGNAME "$VERSION" $arch deb)" install_pkgurl
epm install "$PKGURL"
...@@ -13,5 +13,5 @@ file="${PKGNAME}_${VERSION}_$arch.deb" ...@@ -13,5 +13,5 @@ file="${PKGNAME}_${VERSION}_$arch.deb"
PKGURL=$(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" install_pkgurl
...@@ -20,4 +20,4 @@ case $VERSION in ...@@ -20,4 +20,4 @@ case $VERSION in
;; ;;
esac esac
epm install $PKGURL install_pkgurl
...@@ -36,7 +36,7 @@ case $(epm print info -e) in ...@@ -36,7 +36,7 @@ case $(epm print info -e) in
# ;; # ;;
esac esac
epm pack --install $PKGNAME "$PKGURL" || exit install_pack_pkgurl
#PKGURL="https://drivers.pantum.ru/userfiles/files/download/%E9%A9%B1%E5%8A%A8%E6%96%87%E4%BB%B6/%E6%A0%87%E7%AD%BE%E6%9C%BA/Linux/linux_pantum.7z" #PKGURL="https://drivers.pantum.ru/userfiles/files/download/%E9%A9%B1%E5%8A%A8%E6%96%87%E4%BB%B6/%E6%A0%87%E7%AD%BE%E6%9C%BA/Linux/linux_pantum.7z"
......
...@@ -13,4 +13,4 @@ file="pcsx2-v${VERSION}-linux-appimage-x64-Qt.AppImage" ...@@ -13,4 +13,4 @@ file="pcsx2-v${VERSION}-linux-appimage-x64-Qt.AppImage"
PKGURL=$(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" install_pack_pkgurl
...@@ -21,10 +21,6 @@ case $arch in ...@@ -21,10 +21,6 @@ case $arch in
fatal "Unsupported arch $arch for $(epm print info -d)" fatal "Unsupported arch $arch for $(epm print info -d)"
esac esac
# we have workaround for their postinstall script, so always repack rpm package
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
# current links: # current links:
# https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil-3.1.1.ga.x86_64.rpm # https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil-3.1.1.ga.x86_64.rpm
# https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil-3.1.1.ga.i686.rpm # https://pencil.evolus.vn/dl/V3.1.1.ga/Pencil-3.1.1.ga.i686.rpm
...@@ -34,4 +30,5 @@ repack='' ...@@ -34,4 +30,5 @@ repack=''
mask="$(epm print constructname $PKGNAME "$VERSION.ga" $arch)" mask="$(epm print constructname $PKGNAME "$VERSION.ga" $arch)"
PKGURL="$(eget --list --latest https://pencil.evolus.vn/Downloads.html "$mask")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://pencil.evolus.vn/Downloads.html "$mask")" || fatal "Can't get package URL"
epm $repack install "$PKGURL"
install_pkgurl
...@@ -9,9 +9,10 @@ URL="https://www.pfu.ricoh.com/global/scanners/fi/dl/agree/ubuntu-64-221-sp.html ...@@ -9,9 +9,10 @@ URL="https://www.pfu.ricoh.com/global/scanners/fi/dl/agree/ubuntu-64-221-sp.html
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
VERSION=2.2.1 VERSION=2.2.1
# check URL to upgrade the version # check URL to upgrade the version
PKGURL="https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/221/pfusp-ubuntu_2.2.1_amd64.deb" PKGURL="https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/221/pfusp-ubuntu_2.2.1_amd64.deb"
epm install "$PKGURL" install_pkgurl
...@@ -22,8 +22,7 @@ fi ...@@ -22,8 +22,7 @@ fi
BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/redhat/rhel-8Workstation-x86_64 BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/redhat/rhel-8Workstation-x86_64
#BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/fedora/fedora-38Workstation-x86_64 #BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/fedora/fedora-38Workstation-x86_64
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
pkgarch='x86_64' pkgarch='x86_64'
epm $repack install $BASEURL/pgadmin4-server-$VERSION.*.$pkgarch.rpm $BASEURL/pgadmin4-desktop-$VERSION.*.$pkgarch.rpm PKGURL="$BASEURL/pgadmin4-server-$VERSION.*.$pkgarch.rpm $BASEURL/pgadmin4-desktop-$VERSION.*.$pkgarch.rpm"
install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/phpstorm/" ...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/phpstorm/"
PKGURL="$(get_jetbrains_pkgurl PS webide)" PKGURL="$(get_jetbrains_pkgurl PS webide)"
epm install $PKGURL install_pkgurl
...@@ -11,4 +11,4 @@ URL="https://www.plex.tv/" ...@@ -11,4 +11,4 @@ URL="https://www.plex.tv/"
# https://api.snapcraft.io/api/v1/snaps/download/qc6MFRM433ZhI1XjVzErdHivhSOhlpf0_37.snap # https://api.snapcraft.io/api/v1/snaps/download/qc6MFRM433ZhI1XjVzErdHivhSOhlpf0_37.snap
PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/plex-desktop | 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/plex-desktop | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" || fatal "Can't get URL"
epm install "$PKGURL" install_pkgurl
...@@ -10,7 +10,6 @@ URL="https://safing.io/" ...@@ -10,7 +10,6 @@ URL="https://safing.io/"
warn_version_is_not_supported warn_version_is_not_supported
repack=''
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
case "$pkgtype" in case "$pkgtype" in
...@@ -21,10 +20,6 @@ case "$pkgtype" in ...@@ -21,10 +20,6 @@ case "$pkgtype" in
;; ;;
esac esac
if [ "$(epm print info -s)" = "alt" ] ; then
repack="--repack"
fi
PKGURL="https://updates.safing.io/latest/linux_amd64/packages/portmaster-installer.$pkgtype" PKGURL="https://updates.safing.io/latest/linux_amd64/packages/portmaster-installer.$pkgtype"
epm install $repack "$PKGURL" install_pkgurl
...@@ -7,19 +7,14 @@ DESCRIPTION='PortProton (from the repository if the package is there, or from th ...@@ -7,19 +7,14 @@ DESCRIPTION='PortProton (from the repository if the package is there, or from th
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
res=0
if ! epm install portproton ; then if ! epm install portproton ; then
PKGURL="$(eget --list --latest https://github.com/Castro-Fidel/PortProton_dpkg/releases "portproton_${VERSION}amd64.deb")" PKGURL="$(eget --list --latest https://github.com/Castro-Fidel/PortProton_dpkg/releases "portproton_${VERSION}amd64.deb")"
epm install $PKGURL install_pkgurl
res=$?
fi 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="$(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
exit $res
...@@ -19,4 +19,4 @@ esac ...@@ -19,4 +19,4 @@ esac
PKGURL="https://dl.pstmn.io/download/latest/linux_$arch" PKGURL="https://dl.pstmn.io/download/latest/linux_$arch"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -28,8 +28,4 @@ esac ...@@ -28,8 +28,4 @@ esac
PKGURL=$(eget --list --latest $BASEURL "$file") || fatal "Can't get package URL" PKGURL=$(eget --list --latest $BASEURL "$file") || fatal "Can't get package URL"
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL" || exit
...@@ -26,8 +26,4 @@ arch=x86_64 ...@@ -26,8 +26,4 @@ arch=x86_64
# 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=$(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 install_pkgurl
[ "$pkgtype" = "deb" ] || repack='--repack'
epm install $repack "$PKGURL" || exit
...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/ru-ru/pycharm/" ...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/ru-ru/pycharm/"
PKGURL="$(get_jetbrains_pkgurl PCP python)" PKGURL="$(get_jetbrains_pkgurl PCP python)"
epm install "$PKGURL" install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/ru-ru/pycharm/" ...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/ru-ru/pycharm/"
PKGURL="$(get_jetbrains_pkgurl PCC python)" PKGURL="$(get_jetbrains_pkgurl PCC python)"
epm install $PKGURL install_pkgurl
...@@ -16,9 +16,6 @@ fi ...@@ -16,9 +16,6 @@ fi
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
arch="$(epm print info -a)" arch="$(epm print info -a)"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
case $pkgtype-$arch in case $pkgtype-$arch in
rpm-x86_64) rpm-x86_64)
mask="VNC-Server-$VERSION-Linux-x64.rpm" mask="VNC-Server-$VERSION-Linux-x64.rpm"
...@@ -33,4 +30,4 @@ esac ...@@ -33,4 +30,4 @@ esac
PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ "$mask") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ "$mask") || fatal "Can't get package URL"
epm $repack install $PKGURL install_pkgurl
...@@ -16,9 +16,6 @@ fi ...@@ -16,9 +16,6 @@ fi
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
arch="$(epm print info -a)" arch="$(epm print info -a)"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
case $pkgtype-$arch in case $pkgtype-$arch in
rpm-x86_64) rpm-x86_64)
PKG="VNC-Viewer-$VERSION-Linux-x64.rpm" PKG="VNC-Viewer-$VERSION-Linux-x64.rpm"
...@@ -41,4 +38,4 @@ esac ...@@ -41,4 +38,4 @@ esac
# https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.10.0-Linux-x64.rpm # https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.10.0-Linux-x64.rpm
PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/viewer/ "$PKG") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://www.realvnc.com/en/connect/download/viewer/ "$PKG") || fatal "Can't get package URL"
epm $repack install $PKGURL install_pkgurl
...@@ -18,6 +18,5 @@ case "$(epm print info -a)" in ...@@ -18,6 +18,5 @@ case "$(epm print info -a)" in
esac esac
PKGURL=$(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"
epm pack --install reaper "$PKGURL" install_pack_pkgurl
...@@ -13,4 +13,4 @@ warn_version_is_not_supported ...@@ -13,4 +13,4 @@ warn_version_is_not_supported
# https://www.rememberthemilk.com/services/linux/ # https://www.rememberthemilk.com/services/linux/
PKGURL="https://www.rememberthemilk.com/services/linux/download/?os=ubuntu_64&subtype=1.3.11" PKGURL="https://www.rememberthemilk.com/services/linux/download/?os=ubuntu_64&subtype=1.3.11"
epm install "$PKGURL" install_pkgurl
...@@ -22,7 +22,4 @@ esac ...@@ -22,7 +22,4 @@ esac
PKGURL="https://ridoclnx.com/download/$mask" PKGURL="https://ridoclnx.com/download/$mask"
# for add /usr/bin/ridoclnx install_pkgurl
repack='--repack'
epm install $repack "$PKGURL"
...@@ -13,4 +13,4 @@ pkgtype=deb ...@@ -13,4 +13,4 @@ pkgtype=deb
PKGURL=$(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" install_pkgurl
...@@ -13,4 +13,4 @@ file="rpcs3-v${VERSION}-*-*_linux64.AppImage" ...@@ -13,4 +13,4 @@ file="rpcs3-v${VERSION}-*-*_linux64.AppImage"
PKGURL=$(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" install_pack_pkgurl
...@@ -24,8 +24,6 @@ esac ...@@ -24,8 +24,6 @@ esac
#case "$distr" in #case "$distr" in
#case #case
repack=''
case $(epm print info -e) in case $(epm print info -e) in
Ubuntu/20.*|Debian/11) Ubuntu/20.*|Debian/11)
PKGFILTER="focal" PKGFILTER="focal"
...@@ -53,7 +51,6 @@ case $(epm print info -e) in ...@@ -53,7 +51,6 @@ case $(epm print info -e) in
;; ;;
ALTLinux/*) ALTLinux/*)
PKGFILTER="rhel8" PKGFILTER="rhel8"
repack='--repack'
;; ;;
*) *)
fatal "Unsupported distro $(epm print info -e). Ask application vendor for a support." fatal "Unsupported distro $(epm print info -e). Ask application vendor for a support."
...@@ -65,4 +62,4 @@ VERSION="${VERSION/+/-}" ...@@ -65,4 +62,4 @@ VERSION="${VERSION/+/-}"
PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")" PKGMASK="$(epm print constructname $PKGNAME "$VERSION" $arch $pkgtype "-" "-")"
PKGURL="$(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" install_pkgurl
...@@ -7,7 +7,7 @@ DESCRIPTION="RuDesktop for Linux from the official site" ...@@ -7,7 +7,7 @@ DESCRIPTION="RuDesktop for Linux from the official site"
URL="https://rudesktop.ru/" URL="https://rudesktop.ru/"
pkgname="$PKGNAME" pkgname="$PKGNAME"
repack=''
# FIXME: uses global epm # FIXME: uses global epm
# change package name (like on the site) # change package name (like on the site)
case "$(epm print info -s)" in case "$(epm print info -s)" in
...@@ -16,7 +16,6 @@ case "$(epm print info -s)" in ...@@ -16,7 +16,6 @@ case "$(epm print info -s)" in
;; ;;
alt) alt)
pkgname=rudesktop-alt pkgname=rudesktop-alt
repack='--repack'
;; ;;
osnova) osnova)
PKGNAME=rudesktop-astra PKGNAME=rudesktop-astra
...@@ -38,7 +37,7 @@ case "$(epm print info -p)" in ...@@ -38,7 +37,7 @@ case "$(epm print info -p)" in
esac esac
PKGURL="https://rudesktop.ru/download/$PKGNAME-amd64.$pkgtype" PKGURL="https://rudesktop.ru/download/$PKGNAME-amd64.$pkgtype"
epm install $repack $PKGURL || exit install_pkgurl
echo echo
echo "Note: run echo "Note: run
......
...@@ -12,5 +12,5 @@ warn_version_is_not_supported ...@@ -12,5 +12,5 @@ warn_version_is_not_supported
PKGURL="https://www.rupost.ru/desktop/download/linux/" PKGURL="https://www.rupost.ru/desktop/download/linux/"
epm install $PKGURL install_pkgurl
...@@ -22,7 +22,7 @@ else ...@@ -22,7 +22,7 @@ else
fi fi
PKGURL=$(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 install_pkgurl
cat <<EOF cat <<EOF
......
...@@ -28,4 +28,4 @@ esac ...@@ -28,4 +28,4 @@ esac
PKGURL="https://www.psn-web.net/cs-im/Japan/Scanner/cojp/data_cmns/linux/$file" PKGURL="https://www.psn-web.net/cs-im/Japan/Scanner/cojp/data_cmns/linux/$file"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -21,9 +21,6 @@ case $arch in ...@@ -21,9 +21,6 @@ case $arch in
fatal "Unsupported arch $arch for $(epm print info -d)" fatal "Unsupported arch $arch for $(epm print info -d)"
esac esac
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
#https://st.mycdn.me/static/sferum/latest/sferum-i386.deb #https://st.mycdn.me/static/sferum/latest/sferum-i386.deb
#https://st.mycdn.me/static/sferum/latest/sferum-amd64.deb #https://st.mycdn.me/static/sferum/latest/sferum-amd64.deb
#https://st.mycdn.me/static/sferum/latest/sferum-i686.rpm #https://st.mycdn.me/static/sferum/latest/sferum-i686.rpm
...@@ -31,4 +28,6 @@ repack='' ...@@ -31,4 +28,6 @@ repack=''
# can't use constructname due '-' before arch # can't use constructname due '-' before arch
#epm install "https://st.mycdn.me/static/sferum/latest/$(epm print constructname $PKGNAME '' $arch '' '-')" #epm install "https://st.mycdn.me/static/sferum/latest/$(epm print constructname $PKGNAME '' $arch '' '-')"
epm $repack install "https://st.mycdn.me/static/sferum/latest/$PKGNAME-$arch.$(epm print info -p)" PKGURL="https://st.mycdn.me/static/sferum/latest/$PKGNAME-$arch.$(epm print info -p)"
install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://sidequestvr.com/" ...@@ -10,4 +10,4 @@ URL="https://sidequestvr.com/"
PKGURL=$(eget --list --latest "https://github.com/SideQuestVR/SideQuest/releases/" "SideQuest-$VERSION.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" install_pack_pkgurl
...@@ -26,4 +26,4 @@ file=signal-desktop_${VERSION}_amd64.deb ...@@ -26,4 +26,4 @@ file=signal-desktop_${VERSION}_amd64.deb
#PKGURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/$file" #PKGURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/$file"
PKGURL="https://updates.signal.org/desktop/apt/pool/s/signal-desktop/$file" PKGURL="https://updates.signal.org/desktop/apt/pool/s/signal-desktop/$file"
epm install "$PKGURL" install_pkgurl
...@@ -12,4 +12,4 @@ SNAPNAME="singularityapp" ...@@ -12,4 +12,4 @@ SNAPNAME="singularityapp"
# https://api.snapcraft.io/api/v1/snaps/download/qc6MFRM433ZhI1XjVzErdHivhSOhlpf0_37.snap # https://api.snapcraft.io/api/v1/snaps/download/qc6MFRM433ZhI1XjVzErdHivhSOhlpf0_37.snap
PKGURL="$(eget -O- -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/$SNAPNAME | 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/$SNAPNAME | epm --inscript tool json -b | grep '\["channel-map",0,"download","url"\]' | head -n1 | sed -e 's|.*"\(.*\)"$|\1|' )" || fatal "Can't get URL"
epm install "$PKGURL" install_pkgurl
...@@ -15,4 +15,4 @@ pkgtype=deb ...@@ -15,4 +15,4 @@ pkgtype=deb
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=skypeforlinux-stable-bin # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=skypeforlinux-stable-bin
PKGURL="https://repo.skype.com/deb/pool/main/s/${PKGNAME}/${PKGNAME}_${VERSION}_amd64.deb" PKGURL="https://repo.skype.com/deb/pool/main/s/${PKGNAME}/${PKGNAME}_${VERSION}_amd64.deb"
epm install "$PKGURL" install_pkgurl
...@@ -14,6 +14,5 @@ pkgtype=rpm ...@@ -14,6 +14,5 @@ pkgtype=rpm
# https://downloads.slack-edge.com/desktop-releases/linux/x64/4.37.94/slack-4.37.94-0.1.el8.x86_64.rpm # https://downloads.slack-edge.com/desktop-releases/linux/x64/4.37.94/slack-4.37.94-0.1.el8.x86_64.rpm
mask="$(epm print constructname $PKGNAME "$VERSION-[.09]*" $arch $pkgtype)" mask="$(epm print constructname $PKGNAME "$VERSION-[.09]*" $arch $pkgtype)"
PKGURL="$(eget --list --latest https://slack.com/downloads/instructions/fedora "$mask")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://slack.com/downloads/instructions/fedora "$mask")" || fatal "Can't get package URL"
[ -n "$PKGURL" ] || fatal "Can't get package URL"
epm install --repack "$PKGURL" install_pkgurl
...@@ -19,6 +19,5 @@ case $arch in ...@@ -19,6 +19,5 @@ case $arch in
esac esac
PKGURL=$(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"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -9,4 +9,5 @@ URL="https://spotify.com" ...@@ -9,4 +9,5 @@ URL="https://spotify.com"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
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" 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 "$PKGURL"
install_pkgurl
...@@ -22,9 +22,8 @@ case "$arch" in ...@@ -22,9 +22,8 @@ case "$arch" in
esac esac
PKGURL=$(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"
epm pack $PKGNAME "$PKGURL" || exit install_pack_pkgurl
echo echo
echo "NOTE: Sublime Text 4 is a proprietary software. We recommend to use open source editors: Codium, VS Code, Atom." echo "NOTE: Sublime Text 4 is a proprietary software. We recommend to use open source editors: Codium, VS Code, Atom."
...@@ -29,4 +29,4 @@ esac ...@@ -29,4 +29,4 @@ esac
URL="$(eget -4 --list --latest https://www.sweethome3d.com/download.jsp SweetHome3D-$VERSION-linux-$arch.tgz/download)" URL="$(eget -4 --list --latest https://www.sweethome3d.com/download.jsp SweetHome3D-$VERSION-linux-$arch.tgz/download)"
PKGURL="$(echo "$URL" | sed -e "s|https*://sourceforge.net/projects/sweethome3d/files|https://download.sourceforge.net/project/sweethome3d|" -e 's|/download$||' )" PKGURL="$(echo "$URL" | sed -e "s|https*://sourceforge.net/projects/sweethome3d/files|https://download.sourceforge.net/project/sweethome3d|" -e 's|/download$||' )"
epm install "$PKGURL" install_pkgurl
...@@ -18,7 +18,8 @@ PKGDIR="$(mktemp -d)" ...@@ -18,7 +18,8 @@ PKGDIR="$(mktemp -d)"
trap "rm -fr $PKGDIR" EXIT trap "rm -fr $PKGDIR" EXIT
cd $PKGDIR || fatal cd $PKGDIR || fatal
PKGURL="$PKGNAME.deb"
# fix spaces in the package name # fix spaces in the package name
eget -O $PKGNAME.deb "$urldir/Synology*.deb" eget -O $PKGURL "$urldir/Synology*.deb"
epm install $PKGNAME.deb install_pkgurl
...@@ -19,4 +19,4 @@ urldir="$(eget --list https://archive.synology.com/download/Utility/SynologyDriv ...@@ -19,4 +19,4 @@ urldir="$(eget --list https://archive.synology.com/download/Utility/SynologyDriv
PKGURL="$urldir/$PKGNAME-*.x86_64.deb" PKGURL="$urldir/$PKGNAME-*.x86_64.deb"
epm install "$PKGURL" install_pkgurl
...@@ -25,4 +25,4 @@ case "$(epm print info -s)" in ...@@ -25,4 +25,4 @@ case "$(epm print info -s)" in
;; ;;
esac esac
epm install $PKGURL install_pkgurl
...@@ -21,5 +21,6 @@ case "$arch" in ...@@ -21,5 +21,6 @@ case "$arch" in
;; ;;
esac esac
# epm uses eget to download * names PKGURL="https://download.tamtam.chat/latest/TamTam-$arch.deb"
epm install "https://download.tamtam.chat/latest/TamTam-$arch.deb"
install_pkgurl
...@@ -9,7 +9,6 @@ DESCRIPTION="Microsoft Teams for Linux from the archive.org of the official site ...@@ -9,7 +9,6 @@ DESCRIPTION="Microsoft Teams for Linux from the archive.org of the official site
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
repack=''
pkgtype="$(epm print info -p)" pkgtype="$(epm print info -p)"
# archive.org have only deb packages # archive.org have only deb packages
...@@ -26,14 +25,10 @@ else ...@@ -26,14 +25,10 @@ else
[ "$VERSION" = "*" ] && VERSION="[0-9]*" || VERSION="$VERSION-1" [ "$VERSION" = "*" ] && VERSION="[0-9]*" || VERSION="$VERSION-1"
fi fi
if [ "$(epm print info -s)" = "alt" ] ; then
repack="--repack"
fi
# rpm and deb contains the same binaries # rpm and deb contains the same binaries
# $ diff -ru teams-1.5.00.23861-1.x86_64 teams_1.5.00.23861_amd64 # $ diff -ru teams-1.5.00.23861-1.x86_64 teams_1.5.00.23861_amd64
ARCHIVEORG=https://web.archive.org/web/20221130114832if_ ARCHIVEORG=https://web.archive.org/web/20221130114832if_
PKGURL="$ARCHIVEORG/$URL/$(epm print constructname teams "$VERSION" $arch $pkgtype)"
# epm uses eget to download * names install_pkgurl
epm install $repack "$ARCHIVEORG/$URL/$(epm print constructname teams "$VERSION" $arch $pkgtype)"
...@@ -13,4 +13,4 @@ URL="https://www.teamspeak.com/" ...@@ -13,4 +13,4 @@ URL="https://www.teamspeak.com/"
PKGURL="https://files.teamspeak-services.com/releases/client/$VERSION/TeamSpeak3-Client-linux_amd64-$VERSION.run" PKGURL="https://files.teamspeak-services.com/releases/client/$VERSION/TeamSpeak3-Client-linux_amd64-$VERSION.run"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -13,4 +13,4 @@ URL="https://www.teamspeak.com/" ...@@ -13,4 +13,4 @@ URL="https://www.teamspeak.com/"
PKGURL="https://files.teamspeak-services.com/pre_releases/client/$VERSION/teamspeak-client.tar.gz" PKGURL="https://files.teamspeak-services.com/pre_releases/client/$VERSION/teamspeak-client.tar.gz"
epm pack --install $PKGNAME "$PKGURL" $VERSION install_pack_pkgurl $VERSION
...@@ -17,11 +17,10 @@ arch=$(epm print info --distro-arch) ...@@ -17,11 +17,10 @@ arch=$(epm print info --distro-arch)
# TODO: version support # TODO: version support
# https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.51.5.x86_64.rpm # https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.51.5.x86_64.rpm
repack=''
[ "$(epm print info -p)" = "deb" ] || repack='--repack'
# epm uses eget to download * names # epm uses eget to download * names
epm $repack install "https://download.teamviewer.com/download/linux/$(epm print constructname $PKGNAME)" || exit PKGURL="https://download.teamviewer.com/download/linux/$(epm print constructname $PKGNAME)"
install_pkgurl
cat <<EOF cat <<EOF
......
...@@ -24,9 +24,8 @@ fi ...@@ -24,9 +24,8 @@ fi
PKGURL=$(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"
# override PKGNAME for beta version # override PKGNAME for beta version
echo "$PKGURL" | grep -q "beta.tar.xz" && override_pkgname "$BASEPKGNAME-beta" echo "$PKGURL" | grep -q "beta.tar.xz" && override_pkgname "$BASEPKGNAME-beta"
epm --install pack $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -36,7 +36,4 @@ esac ...@@ -36,7 +36,4 @@ esac
PKGURL="https://www.cendio.com/downloads/clients/$file" PKGURL="https://www.cendio.com/downloads/clients/$file"
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$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" install_pkgurl
...@@ -26,7 +26,4 @@ esac ...@@ -26,7 +26,4 @@ esac
PKGURL=$(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='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -11,24 +11,24 @@ URL="https://trueconf.ru" ...@@ -11,24 +11,24 @@ URL="https://trueconf.ru"
[ "$VERSION" = "*" ] && VERSION="[0-9]*" [ "$VERSION" = "*" ] && VERSION="[0-9]*"
epmopt=''
distrversion=$(epm print info -v) distrversion=$(epm print info -v)
case "$(epm print info -e)" in case "$(epm print info -e)" in
ALTLinux/p10|ALTLinux/Sisyphus) ALTLinux/p10|ALTLinux/Sisyphus)
URL="https://mirror.trueconf.ru/altlinux/p10/x86_64/RPMS.non-free/trueconf-server-${VERSION}*.x86_64.rpm" PKGURL="https://mirror.trueconf.ru/altlinux/p10/x86_64/RPMS.non-free/trueconf-server-${VERSION}*.x86_64.rpm"
;; ;;
ALTLinux/p9) ALTLinux/p9)
URL="https://mirror.trueconf.ru/altlinux/p9/x86_64/RPMS.non-free/trueconf-${VERSION}*.x86_64.rpm" PKGURL="https://mirror.trueconf.ru/altlinux/p9/x86_64/RPMS.non-free/trueconf-${VERSION}*.x86_64.rpm"
;; ;;
AstraLinuxSE/1.7*) AstraLinuxSE/1.7*)
URL="https://mirror.trueconf.ru/astra17/pool/non-free/t/trueconf-server/trueconf_server_${VERSION}*_amd64.deb" PKGURL="https://mirror.trueconf.ru/astra17/pool/non-free/t/trueconf-server/trueconf_server_${VERSION}*_amd64.deb"
;; ;;
RedOS/7.*) RedOS/7.*)
URL="https://mirror.trueconf.ru/redos/$distrversion/x86_64/release/trueconf-server-${VERSION}*.x86_64.rpm" PKGURL="https://mirror.trueconf.ru/redos/$distrversion/x86_64/release/trueconf-server-${VERSION}*.x86_64.rpm"
;; ;;
*) *)
fatal "$(epm print info -e) is not supported" fatal "$(epm print info -e) is not supported"
esac esac
# TODO: repack?
# --repack includes --noscripts # --repack includes --noscripts
epm install $epmopt "$URL" || exit epm install "$PKGURL" || exit
...@@ -17,4 +17,4 @@ fi ...@@ -17,4 +17,4 @@ fi
PKGURL=$(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 "$PKGURL" install_pkgurl
...@@ -32,7 +32,4 @@ esac ...@@ -32,7 +32,4 @@ esac
PKGURL="https://www.unifiedremote.com/download/$file" PKGURL="https://www.unifiedremote.com/download/$file"
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -10,4 +10,4 @@ URL="https://benchmark.unigine.com/heaven" ...@@ -10,4 +10,4 @@ URL="https://benchmark.unigine.com/heaven"
PKGURL="$(eget --list --latest https://benchmark.unigine.com/heaven "Unigine_Heaven-$VERSION.run")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://benchmark.unigine.com/heaven "Unigine_Heaven-$VERSION.run")" || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -11,4 +11,4 @@ URL="https://benchmark.unigine.com/superposition" ...@@ -11,4 +11,4 @@ URL="https://benchmark.unigine.com/superposition"
# 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") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://benchmark.unigine.com/superposition "Unigine_Superposition-$VERSION.run") || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -11,4 +11,4 @@ URL="https://benchmark.unigine.com/valley" ...@@ -11,4 +11,4 @@ URL="https://benchmark.unigine.com/valley"
# 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") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://benchmark.unigine.com/valley "Unigine_Valley-$VERSION.run") || fatal "Can't get package URL"
epm pack --install $PKGNAME "$PKGURL" install_pack_pkgurl
...@@ -23,7 +23,7 @@ case $vendor in ...@@ -23,7 +23,7 @@ case $vendor in
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" install_pkgurl
exit exit
;; ;;
esac esac
...@@ -44,4 +44,3 @@ esac ...@@ -44,4 +44,3 @@ esac
epm update epm update
epm install $PKGNAME epm install $PKGNAME
...@@ -13,4 +13,4 @@ URL="https://github.com/upscayl/upscayl" ...@@ -13,4 +13,4 @@ URL="https://github.com/upscayl/upscayl"
PKGURL=$(eget --list --latest https://github.com/upscayl/upscayl/releases "upscayl-$VERSION-linux.AppImage") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/upscayl/upscayl/releases "upscayl-$VERSION-linux.AppImage") || fatal "Can't get package URL"
epm install "$PKGURL" install_pkgurl
...@@ -14,7 +14,4 @@ mask="dhcoapp-noffmpeg-linux-$arch.deb" ...@@ -14,7 +14,4 @@ mask="dhcoapp-noffmpeg-linux-$arch.deb"
PKGURL=$(eget --list --latest https://github.com/aclap-dev/vdhcoapp/releases/ "$mask") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/aclap-dev/vdhcoapp/releases/ "$mask") || fatal "Can't get package URL"
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://download.cdn.viber.com/desktop/Linux/viber.AppImage" PKGURL="https://download.cdn.viber.com/desktop/Linux/viber.AppImage"
epm install "$PKGURL" install_pkgurl
...@@ -26,4 +26,4 @@ case "$(epm print info -d)" in ...@@ -26,4 +26,4 @@ case "$(epm print info -d)" in
;; ;;
esac esac
epm install "$PKGURL" install_pkgurl
...@@ -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" install_pack_pkgurl
...@@ -45,7 +45,7 @@ if [ "$VERSION" = "*" ] ; then ...@@ -45,7 +45,7 @@ if [ "$VERSION" = "*" ] ; then
[ -n "$VERSION" ] || fatal "Can't get version for $PKGNAME" [ -n "$VERSION" ] || fatal "Can't get version for $PKGNAME"
fi fi
epm pack --install $PKGNAME "$PKGURL" $VERSION || exit install_pack_pkgurl $VERSION
echo echo
echo "Note: run echo "Note: run
......
...@@ -41,7 +41,8 @@ if [ "$PKGNAME" = "$BASEPKGNAME-snapshot" ] ; then ...@@ -41,7 +41,8 @@ if [ "$PKGNAME" = "$BASEPKGNAME-snapshot" ] ; then
else else
PKGURL="$(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
install_pkgurl
#UPDATEFFMPEG=$(epm ql $PKGNAME | grep update-ffmpeg) || fatal #UPDATEFFMPEG=$(epm ql $PKGNAME | grep update-ffmpeg) || fatal
#epm pack --install $PKGNAME-codecs-ffmpeg-extra $UPDATEFFMPEG #epm pack --install $PKGNAME-codecs-ffmpeg-extra $UPDATEFFMPEG
...@@ -21,7 +21,4 @@ esac ...@@ -21,7 +21,4 @@ esac
PKGURL="$(eget --list --latest "$URL" "$PKGNAME.$pkgtype")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest "$URL" "$PKGNAME.$pkgtype")" || fatal "Can't get package URL"
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm $repack install "$PKGURL"
...@@ -17,4 +17,4 @@ esac ...@@ -17,4 +17,4 @@ esac
PKGURL="$(eget --list --latest https://desktop.userapi.com/rpm/master/ "$PKGNAME-$VERSION.$arch.rpm")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://desktop.userapi.com/rpm/master/ "$PKGNAME-$VERSION.$arch.rpm")" || fatal "Can't get package URL"
epm install --repack "$PKGURL" install_pkgurl
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://vkcalls-native-ac.vk-apps.com/latest/vk-calls-amd64.deb" PKGURL="https://vkcalls-native-ac.vk-apps.com/latest/vk-calls-amd64.deb"
epm install "$PKGURL" install_pkgurl
...@@ -15,4 +15,4 @@ VERSION="1.0" ...@@ -15,4 +15,4 @@ VERSION="1.0"
PKGURL="https://vkteams-www.hb.bizmrg.com/linux/x64/vkteams.tar.xz" PKGURL="https://vkteams-www.hb.bizmrg.com/linux/x64/vkteams.tar.xz"
epm pack --install $PKGNAME "$PKGURL" "$VERSION" install_pack_pkgurl "$VERSION"
...@@ -32,4 +32,5 @@ esac ...@@ -32,4 +32,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" )" || fatal "Can't get package URL" PKGURL="$(eget --list --latest https://www.hamrick.com/alternate-versions.html "$file*.$pkgtype" )" || fatal "Can't get package URL"
epm install "$PKGURL"
install_pkgurl
...@@ -13,4 +13,4 @@ file="weasis_$VERSION-1_$arch.deb" ...@@ -13,4 +13,4 @@ file="weasis_$VERSION-1_$arch.deb"
PKGURL=$(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" install_pkgurl
...@@ -25,6 +25,5 @@ esac ...@@ -25,6 +25,5 @@ esac
pkgtype=AppImage pkgtype=AppImage
PKGURL=$(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"
epm install "$PKGURL" install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://github.com/yar229/WebDavMailRuCloud" ...@@ -10,4 +10,4 @@ URL="https://github.com/yar229/WebDavMailRuCloud"
PKGURL=$(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 install_pack_pkgurl
...@@ -11,4 +11,4 @@ URL="https://cyberbotics.com/" ...@@ -11,4 +11,4 @@ URL="https://cyberbotics.com/"
PKGURL=$(eget --list --latest https://github.com/cyberbotics/webots/releases/"*.deb") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/cyberbotics/webots/releases/"*.deb") || fatal "Can't get package URL"
epm install "$PKGURL" install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/webstorm/" ...@@ -10,4 +10,4 @@ URL="https://www.jetbrains.com/webstorm/"
PKGURL="$(get_jetbrains_pkgurl WS webstorm)" PKGURL="$(get_jetbrains_pkgurl WS webstorm)"
epm install $PKGURL install_pkgurl
...@@ -16,6 +16,7 @@ fi ...@@ -16,6 +16,7 @@ fi
arch=x86_64 arch=x86_64
# sh: symbol lookup error: /tmp/.private/lav/.mount_whatsaxhRMDh/opt/libc/lib/x86_64-linux-gnu/libc.so.6: undefined symbol: __libc_enable_secure, version GLIBC_PRIVATE # sh: symbol lookup error: /tmp/.private/lav/.mount_whatsaxhRMDh/opt/libc/lib/x86_64-linux-gnu/libc.so.6: undefined symbol: __libc_enable_secure, version GLIBC_PRIVATE
URL=$(eget --list --latest https://github.com/eneshecan/whatsapp-for-linux/releases "$PKGNAME-$VERSION-$arch.AppImage") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/eneshecan/whatsapp-for-linux/releases "$PKGNAME-$VERSION-$arch.AppImage") || fatal "Can't get package URL"
epm install $URL
install_pkgurl
...@@ -36,7 +36,4 @@ esac ...@@ -36,7 +36,4 @@ esac
PKGURL="$(eget --list --latest $BASEURL/$DIRVERSION/ "$mask")" || fatal "Can't get package URL" PKGURL="$(eget --list --latest $BASEURL/$DIRVERSION/ "$mask")" || fatal "Can't get package URL"
#PKGURL="https://wingware.com/pub/wing-personal/$VERSION/$mask" #PKGURL="https://wingware.com/pub/wing-personal/$VERSION/$mask"
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
...@@ -29,12 +29,4 @@ case $pkgtype in ...@@ -29,12 +29,4 @@ case $pkgtype in
;; ;;
esac esac
repack='' install_pkgurl
case "$(epm print info -s)" in
alt)
# See in the package scripts: find /home/*/.config/Kingsoft/Office.conf
repack='--repack'
;;
esac
epm install $repack "$PKGURL"
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://download.xnview.com/XnConvert-linux-x64.deb" PKGURL="https://download.xnview.com/XnConvert-linux-x64.deb"
epm install "$PKGURL" install_pkgurl
...@@ -12,4 +12,4 @@ warn_version_is_not_supported ...@@ -12,4 +12,4 @@ warn_version_is_not_supported
PKGURL="https://download.xnview.com/XnViewMP-linux-x64.deb" PKGURL="https://download.xnview.com/XnViewMP-linux-x64.deb"
epm install "$PKGURL" install_pkgurl
...@@ -24,7 +24,4 @@ esac ...@@ -24,7 +24,4 @@ esac
PKGURL=$(eget --list --latest https://xod.io/ "$mask") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://xod.io/ "$mask") || fatal "Can't get package URL"
repack='' install_pkgurl
[ "$(epm print info -s)" = "alt" ] && repack="--repack"
epm $repack install "$PKGURL"
...@@ -14,20 +14,17 @@ TIPS="Run 'epm play yandex-browser=beta' to install beta version of the browser. ...@@ -14,20 +14,17 @@ TIPS="Run 'epm play yandex-browser=beta' to install beta version of the browser.
URL="https://repo.yandex.ru/yandex-browser" URL="https://repo.yandex.ru/yandex-browser"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
if [ "$(epm print info -p)" = "rpm" ] ; then if [ "$(epm print info -p)" = "rpm" ] ; then
# https://repo.yandex.ru/yandex-browser/rpm/stable/x86_64/yandex-browser-stable-23.1.1.1114-1.x86_64.rpm # https://repo.yandex.ru/yandex-browser/rpm/stable/x86_64/yandex-browser-stable-23.1.1.1114-1.x86_64.rpm
[ "$BRANCH" = "corporate" ] && BRANCH="stable" [ "$BRANCH" = "corporate" ] && BRANCH="stable"
PKGURL="$URL/rpm/$BRANCH/x86_64/$(epm print constructname $PKGNAME "$VERSION*" x86_64 rpm)" || fatal "Can't get package URL" PKGURL="$URL/rpm/$BRANCH/x86_64/$(epm print constructname $PKGNAME "$VERSION*" x86_64 rpm)" || fatal "Can't get package URL"
epm install --repack "$PKGURL" || exit
else else
# https://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-browser-beta/yandex-browser-beta_23.5.4.682-1_amd64.deb # https://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-browser-beta/yandex-browser-beta_23.5.4.682-1_amd64.deb
PKGURL="$URL/deb/pool/main/y/$PKGNAME/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)" PKGURL="$URL/deb/pool/main/y/$PKGNAME/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)"
epm install "$PKGURL" || exit
fi fi
install_pkgurl
# TODO: use needed version # TODO: use needed version
if [ "$(epm print info -s)" = "alt" ] ; then if [ "$(epm print info -s)" = "alt" ] ; then
epm install ffmpeg-plugin-browser epm install ffmpeg-plugin-browser
......
...@@ -17,7 +17,8 @@ warn_version_is_not_supported ...@@ -17,7 +17,8 @@ warn_version_is_not_supported
# epm uses eget to download * names # epm uses eget to download * names
PKGURL="https://repo.yandex.ru/yandex-disk/$(epm print constructname $PKGNAME "latest")" || fatal "Can't get package URL" PKGURL="https://repo.yandex.ru/yandex-disk/$(epm print constructname $PKGNAME "latest")" || fatal "Can't get package URL"
epm install "$PKGURL" || exit
install_pkgurl
# Install also tray indicator # Install also tray indicator
if [ "$(epm print info -s)" = "alt" ] ; then if [ "$(epm print info -s)" = "alt" ] ; then
......
...@@ -13,4 +13,4 @@ warn_version_is_not_supported ...@@ -13,4 +13,4 @@ warn_version_is_not_supported
# they publish it on Yandex Disk only (without direct download) # they publish it on Yandex Disk only (without direct download)
PKGURL="ipfs://Qma7e4MpopXpeoNnTsCXxx92q1oTrgJmz1aHjecvcEBNWx?filename=Yandex_Messenger_2.155.0_amd64.deb" PKGURL="ipfs://Qma7e4MpopXpeoNnTsCXxx92q1oTrgJmz1aHjecvcEBNWx?filename=Yandex_Messenger_2.155.0_amd64.deb"
epm install --repack "$PKGURL" install_pkgurl
...@@ -26,4 +26,4 @@ esac ...@@ -26,4 +26,4 @@ esac
PKGURL=$(eget --list --latest https://github.com/cucumber-sp/yandex-music-linux/releases "yandex-music_${VERSION}_${arch}.deb") || fatal "Can't get package URL" PKGURL=$(eget --list --latest https://github.com/cucumber-sp/yandex-music-linux/releases "yandex-music_${VERSION}_${arch}.deb") || fatal "Can't get package URL"
epm install "$PKGURL" install_pkgurl
...@@ -12,4 +12,4 @@ arch=amd64 ...@@ -12,4 +12,4 @@ arch=amd64
# https://github.com/dedpnd/yaradio-yamusic/releases/download/v1.0.6/yaradio-yamusic_1.0.6_amd64.deb # https://github.com/dedpnd/yaradio-yamusic/releases/download/v1.0.6/yaradio-yamusic_1.0.6_amd64.deb
PKGURL=$(eget --list --latest https://github.com/dedpnd/yaradio-yamusic/releases "${PKGNAME}_${VERSION}_$arch.deb") PKGURL=$(eget --list --latest https://github.com/dedpnd/yaradio-yamusic/releases "${PKGNAME}_${VERSION}_$arch.deb")
epm install "$PKGURL" install_pkgurl
...@@ -10,4 +10,4 @@ URL="https://github.com/th-ch/youtube-music" ...@@ -10,4 +10,4 @@ URL="https://github.com/th-ch/youtube-music"
PKGURL="$(eget --list --latest https://github.com/th-ch/youtube-music/releases/ "YouTube-Music-$VERSION.AppImage")" PKGURL="$(eget --list --latest https://github.com/th-ch/youtube-music/releases/ "YouTube-Music-$VERSION.AppImage")"
epm install "$PKGURL" install_pkgurl
...@@ -15,4 +15,4 @@ URL="https://github.com/yuzu-emu/yuzu-mainline/releases" ...@@ -15,4 +15,4 @@ URL="https://github.com/yuzu-emu/yuzu-mainline/releases"
# https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1733/yuzu-mainline-20240303-7ffac53c9.AppImage # https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1733/yuzu-mainline-20240303-7ffac53c9.AppImage
PKGURL="ipfs://QmVQ9La5aqL89mm6PkiYfBn5nF9NyhFsuWyaesY3k9JsUN?filename=yuzu-mainline-20240303-7ffac53c9.AppImage" PKGURL="ipfs://QmVQ9La5aqL89mm6PkiYfBn5nF9NyhFsuWyaesY3k9JsUN?filename=yuzu-mainline-20240303-7ffac53c9.AppImage"
epm install "$PKGURL" install_pkgurl
...@@ -51,4 +51,5 @@ fi ...@@ -51,4 +51,5 @@ fi
# hack with --compressed due broken answer from the server # hack with --compressed due broken answer from the server
PKGURL="$(eget --compressed --list --latest https://download.zerotier.com/RELEASES/$VERSION/dist/$dv/${PKGNAME}[-_]$VERSION*$arch.$pkg)" || fatal "Can't get package URL" PKGURL="$(eget --compressed --list --latest https://download.zerotier.com/RELEASES/$VERSION/dist/$dv/${PKGNAME}[-_]$VERSION*$arch.$pkg)" || fatal "Can't get package URL"
# TODO: install_pkgurl
epm install --scripts "$PKGURL" epm install --scripts "$PKGURL"
...@@ -22,9 +22,7 @@ case $arch in ...@@ -22,9 +22,7 @@ case $arch in
fatal "Unsupported arch $arch for $(epm print info -d)" fatal "Unsupported arch $arch for $(epm print info -d)"
esac esac
repack=''
[ "$(epm print info -s)" = "alt" ] && repack="--repack"
# TODO: there are more complex distro dependent url # TODO: there are more complex distro dependent url
PKGURL="https://zoom.us/client/$VERSION/zoom_$arch.$(epm print info -p)" PKGURL="https://zoom.us/client/$VERSION/zoom_$arch.$(epm print info -p)"
epm install $repack "$PKGURL"
install_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