Commit 05daec18 authored by Vitaly Lipatov's avatar Vitaly Lipatov

improve all prescriptions

parent 5c26fd9f
...@@ -16,8 +16,11 @@ fi ...@@ -16,8 +16,11 @@ fi
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1 [ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
arch=$($DISTRVENDOR --distro-arch) #arch=$($DISTRVENDOR --distro-arch)
pkgtype=$($DISTRVENDOR -p) #pkgtype=$($DISTRVENDOR -p)
repack="--repack"
arch=amd64
pkgtype=deb
# don't used # don't used
complex_get() complex_get()
...@@ -34,4 +37,4 @@ complex_get() ...@@ -34,4 +37,4 @@ complex_get()
PKG="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype" PKG="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype"
epm install --repack "$PKG" epm install $repack "$PKG"
...@@ -19,7 +19,8 @@ fi ...@@ -19,7 +19,8 @@ fi
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1 [ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
#arch=$($DISTRVENDOR --distro-arch) #arch=$($DISTRVENDOR --distro-arch)
pkgtype=$($DISTRVENDOR -p) #pkgtype=$($DISTRVENDOR -p)
pkgtype=deb
# don't used # don't used
complex_get() complex_get()
...@@ -33,4 +34,4 @@ complex_get() ...@@ -33,4 +34,4 @@ complex_get()
PKG="https://repo.skype.com/latest/skypeforlinux-64.$pkgtype" PKG="https://repo.skype.com/latest/skypeforlinux-64.$pkgtype"
epm install --repack "$PKG" epm install "$PKG"
...@@ -22,4 +22,4 @@ fi ...@@ -22,4 +22,4 @@ fi
#https://packages.microsoft.com/yumrepos/ms-teams/teams-1.3.00.25560-1.x86_64.rpm #https://packages.microsoft.com/yumrepos/ms-teams/teams-1.3.00.25560-1.x86_64.rpm
# epm uses eget to download * names # epm uses eget to download * names
epm --noscripts install "https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/$(epm print constructname teams "*" amd64 deb)" epm install "https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/$(epm print constructname teams "*" amd64 deb)"
...@@ -30,5 +30,8 @@ fi ...@@ -30,5 +30,8 @@ fi
# See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=teamviewer # See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=teamviewer
repack=''
[ "$($DISTRVENDOR -p)" = "deb" || repack='--repack'
# epm uses eget to download * names # epm uses eget to download * names
epm --noscripts --repack install "https://download.teamviewer.com/download/linux/$(epm print constructname $PKGNAME)" epm $repack install "https://download.teamviewer.com/download/linux/$(epm print constructname $PKGNAME)"
...@@ -33,4 +33,4 @@ esac ...@@ -33,4 +33,4 @@ esac
# https://repo.vivaldi.com/archive/rpm/x86_64/ # https://repo.vivaldi.com/archive/rpm/x86_64/
# epm uses eget to download * names # epm uses eget to download * names
epm --noscripts install "https://repo.vivaldi.com/archive/deb/pool/main/$(epm print constructname $PKGNAME "*" $arch deb)" epm install "https://repo.vivaldi.com/archive/deb/pool/main/$(epm print constructname $PKGNAME "*" $arch deb)"
...@@ -32,4 +32,4 @@ if [ "$($DISTRVENDOR -d)" = "ALTLinux" ] ; then ...@@ -32,4 +32,4 @@ if [ "$($DISTRVENDOR -d)" = "ALTLinux" ] ; then
fi fi
# TODO: there are more complex distro dependent url # TODO: there are more complex distro dependent url
epm --noscripts install "https://zoom.us/client/latest/zoom_$arch.$($DISTRVENDOR -p)" epm install "https://zoom.us/client/latest/zoom_$arch.$($DISTRVENDOR -p)"
...@@ -17,4 +17,8 @@ subst "s|.*/etc/cron.daily/$PRODUCT.*||" $SPEC ...@@ -17,4 +17,8 @@ subst "s|.*/etc/cron.daily/$PRODUCT.*||" $SPEC
subst "1i%filter_from_requires /.opt.google.chrome.WidevineCdm/d" $SPEC subst "1i%filter_from_requires /.opt.google.chrome.WidevineCdm/d" $SPEC
# unsupported format
rm -f $BUILDROOT/usr/share/menu/$PRODUCT.menu
subst "s|.*/usr/share/menu/$PRODUCT.menu.*||" $SPEC
echo "You also can install chrome via epm play chrome to use WidevineCdm" echo "You also can install chrome via epm play chrome to use WidevineCdm"
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