Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
cba62f35
Commit
cba62f35
authored
Mar 26, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: switch to use common functions
parent
022bfc13
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
72 additions
and
331 deletions
+72
-331
assistant.sh
play.d/assistant.sh
+4
-9
atom.sh
play.d/atom.sh
+2
-12
brave.sh
play.d/brave.sh
+2
-12
chrome-remote-desktop.sh
play.d/chrome-remote-desktop.sh
+3
-12
chrome.sh
play.d/chrome.sh
+3
-11
chromium-gost.sh
play.d/chromium-gost.sh
+4
-16
code.sh
play.d/code.sh
+2
-12
common.sh
play.d/common.sh
+1
-3
discord.sh
play.d/discord.sh
+2
-12
eagle.sh
play.d/eagle.sh
+2
-12
edge.sh
play.d/edge.sh
+2
-12
onlyoffice.sh
play.d/onlyoffice.sh
+2
-12
r7office.sh
play.d/r7office.sh
+3
-12
sferum.sh
play.d/sferum.sh
+2
-12
skype.sh
play.d/skype.sh
+2
-12
spotify.sh
play.d/spotify.sh
+2
-12
sputnik-browser.sh
play.d/sputnik-browser.sh
+2
-12
steam.sh
play.d/steam.sh
+2
-13
sweethome3d.sh
play.d/sweethome3d.sh
+4
-14
tamtam.sh
play.d/tamtam.sh
+2
-12
teams.sh
play.d/teams.sh
+2
-12
teamviewer.sh
play.d/teamviewer.sh
+8
-16
telegram.sh
play.d/telegram.sh
+4
-9
viber.sh
play.d/viber.sh
+2
-12
vivaldi.sh
play.d/vivaldi.sh
+2
-12
xnview.sh
play.d/xnview.sh
+2
-12
yandex-disk.sh
play.d/yandex-disk.sh
+2
-12
zoom.sh
play.d/zoom.sh
+2
-12
No files found.
play.d/assistant.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
assistant
DESCRIPTION
=
"Assistant (Ассистент) from the official site"
# Assistant reclaim their rpm package supports ALT
repack
=
"--scripts"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$repack
$PKGNAME
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Assistant (Ассистент) from the official site"
&&
exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/atom.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
atom-beta
DESCRIPTION
=
"The hackable text editor from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"The hackable text editor from the official site"
&&
exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/brave.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
brave-browser
DESCRIPTION
=
"Brave browser from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Brave browser from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/chrome-remote-desktop.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
chrome-remote-desktop
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove chrome-remote-desktop
exit
fi
[
"
$1
"
!=
"--run"
]
&&
exit
# echo " Remote desktop support for google-chrome & chromium" && exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$($DISTRVENDOR --distro-arch)
...
...
play.d/chrome.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
google-chrome-stable
DESCRIPTION
=
"The popular and trusted web browser by Google (Stable Channel) from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove google-chrome-stable
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"The popular and trusted web browser by Google (Stable Channel) from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/chromium-gost.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
chromium-gost-stable
DESCRIPTION
=
"Chromium with GOST support from the official site"
PKGNAME
=
chromium-gost
if
[
"
$1
"
=
"--remove"
]
;
then
# $PKGNAME-stable really
epm remove
$(
epmqp
$PKGNAME
)
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Chromium with GOST support from the official site"
&&
exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
if
epm installed chromium-gost
;
then
fatal
"Package
$PKGNAME
is already installed from ALT repository."
fatal
"Package
chromium-gost
is already installed from ALT repository."
fi
#arch=$($DISTRVENDOR --distro-arch)
...
...
play.d/code.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
code
DESCRIPTION
=
"Visual Studio Code from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Visual Studio Code from the official site"
&&
exit
arch
=
"
$(
$DISTRVENDOR
-a
)
"
case
"
$arch
"
in
...
...
play.d/common.sh
View file @
cba62f35
...
...
@@ -17,6 +17,4 @@ if [ "$1" = "--installed" ] ; then
fi
if
[
-n
"
$DESCRIPTION
"
]
;
then
[
"
$1
"
!=
"--run"
]
&&
echo
"
$DESCRIPTION
"
&&
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"
$DESCRIPTION
"
&&
exit
play.d/discord.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
discord
DESCRIPTION
=
"Discord from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Discord from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/eagle.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
Autodesk_EAGLE
DESCRIPTION
=
"EAGLE (EDA software) from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"EAGLE (EDA software) from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/edge.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
microsoft-edge-dev
DESCRIPTION
=
"Microsoft Edge browser (dev) from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Microsoft Edge browser (dev) from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/onlyoffice.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
onlyoffice-desktopeditors
DESCRIPTION
=
"ONLYOFFICE for Linux from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"ONLYOFFICE for Linux from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/r7office.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
r7-office
DESCRIPTION
=
"R7 Office for Linux from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"R7 Office for Linux from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/sferum.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
sferum
DESCRIPTION
=
"Sferum for Linux from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Sferum for Linux from the official site"
&&
exit
arch
=
$(
$DISTRVENDOR
--distro-arch
)
case
$arch
in
...
...
play.d/skype.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
skypeforlinux
DESCRIPTION
=
"Skype for Linux - Stable/Release Version from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Skype for Linux - Stable/Release Version from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/spotify.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
spotify-client
DESCRIPTION
=
"Spotify client for Linux from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Spotify client for Linux from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/sputnik-browser.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
sputnik-browser-stable
DESCRIPTION
=
"Sputnik browser from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Sputnik browser from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported by vendor"
&&
exit
1
...
...
play.d/steam.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
steam-launcher
DESCRIPTION
=
''
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
[
"
$1
"
!=
"--run"
]
&&
exit
#echo "Steam for Linux from the official site" && exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/sweethome3d.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
SweetHome3D
DESCRIPTION
=
''
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
$DISTRVENDOR
-a
)
"
case
"
$arch
"
in
...
...
@@ -21,13 +18,6 @@ case "$arch" in
;;
esac
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
[
"
$1
"
!=
"--run"
]
&&
exit
#echo "Sweet Home 3D from the official site" && exit
# TODO: get url from https://sourceforge.net/projects/sweethome3d/best_release.json (is it client system dependend??)
# see get_github_urls in eget
VERSION
=
6.6
...
...
play.d/tamtam.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
tamtam-app
DESCRIPTION
=
"TamTam messenger from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"TamTam messenger from the official site"
&&
exit
arch
=
"
$(
$DISTRVENDOR
--debian-arch
)
"
case
"
$arch
"
in
...
...
play.d/teams.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
teams
DESCRIPTION
=
"Microsoft Teams for Linux from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Microsoft Teams for Linux from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/teamviewer.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
"teamviewer"
DESCRIPTION
=
"Teamviewer from the official site"
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
$DISTRVENDOR
-a
)
"
case
"
$arch
"
in
...
...
@@ -21,12 +18,6 @@ case "$arch" in
;;
esac
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Teamviewer from the official site"
&&
exit
# See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=teamviewer
...
...
@@ -36,8 +27,9 @@ repack=''
# epm uses eget to download * names
epm
$repack
install
"https://download.teamviewer.com/download/linux/
$(
epm print constructname
$PKGNAME
)
"
||
exit
echo
echo
"Note: run
cat
<<
EOF
Note: run
# serv teamviewerd on
to enable needed teamviewer system service (daemon)
"
EOF
play.d/telegram.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
Telegram
DESCRIPTION
=
"Telegram client from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
# $PKGNAME-stable really
...
...
@@ -15,11 +9,12 @@ if [ "$1" = "--remove" ] ; then
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Telegram client from the official site"
&&
exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
PKGURL
=
$(
$EGET
--list
--latest
https://github.com/telegramdesktop/tdesktop/releases
"tsetup.*.tar.xz"
)
PKGURL
=
$(
$EGET
--list
--latest
https://github.com/telegramdesktop/tdesktop/releases
"tsetup.*.tar.xz"
)
#"
[
-n
"
$PKGURL
"
]
||
fatal
"Can't get package URL"
PKGFILE
=
$(
echo
/tmp/
$(
basename
$PKGURL
)
|
sed
-e
"s|/tsetup|/
$PKGNAME
|"
)
$EGET
-O
$PKGFILE
$PKGURL
||
exit
...
...
play.d/viber.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
viber
DESCRIPTION
=
"Viber for Linux from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Viber for Linux from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
...
...
play.d/vivaldi.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
vivaldi-stable
DESCRIPTION
=
"Vivaldi browser from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Vivaldi browser from the official site"
&&
exit
arch
=
"
$(
$DISTRVENDOR
--debian-arch
)
"
case
"
$arch
"
in
...
...
play.d/xnview.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
XnViewMP
DESCRIPTION
=
"XnView MP: Image management from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"XnView MP: Image management from the official site"
&&
exit
repack
=
'--repack'
arch
=
$(
$DISTRVENDOR
--distro-arch
)
...
...
play.d/yandex-disk.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
yandex-disk
DESCRIPTION
=
"Yandex Disk from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Yandex Disk from the official site"
&&
exit
# http://repo.yandex.ru/yandex-disk/yandex-disk_latest_amd64.deb
# http://repo.yandex.ru/yandex-disk/yandex-disk-latest.x86_64.rpm
...
...
play.d/zoom.sh
View file @
cba62f35
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
zoom
DESCRIPTION
=
"Zoom client from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Zoom client from the official site"
&&
exit
repack
=
'--repack'
arch
=
$(
$DISTRVENDOR
--distro-arch
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment