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
etersoft
eepm
Commits
aef9e240
Commit
aef9e240
authored
Apr 17, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: fix URL with fixed eget wildcards
parent
72210264
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
11 deletions
+9
-11
64gram.sh
play.d/64gram.sh
+1
-2
myoffice.sh
play.d/myoffice.sh
+4
-5
rstudio.sh
play.d/rstudio.sh
+1
-1
signal.sh
play.d/signal.sh
+1
-1
sweethome3d.sh
play.d/sweethome3d.sh
+1
-1
telegram.sh
play.d/telegram.sh
+1
-1
No files found.
play.d/64gram.sh
View file @
aef9e240
...
...
@@ -5,8 +5,7 @@ SUPPORTEDARCHES="x86_64"
DESCRIPTION
=
"64Gram (unofficial Telegram Desktop)"
TIPS
=
"Run 'epm play 64gram=<version>' to install the version of the 64Gram Telegram client."
BRANCH
=
"[0-9]"
VERSION
=
".*
$BRANCH
"
VERSION
=
"*[0-9]"
[
-n
"
$2
"
]
&&
[
"
$2
"
!=
"beta"
]
&&
VERSION
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
...
...
play.d/myoffice.sh
View file @
aef9e240
...
...
@@ -12,15 +12,14 @@ fi
.
$(
dirname
$0
)
/common.sh
arch
=
$(
epm print info
--distro-arch
)
pkgtype
=
$(
epm print info
-p
)
# /var/lib/dpkg/info/myoffice-standard-home-edition.postinst: line 62: xdg-desktop-menu: command not found
epm assure xdg-desktop-menu xdg-utils
# https://preset.myoffice-app.ru/myoffice-standard-home-edition
_2022.01-1.28.0.4_amd64
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"*"
$arch
)
"
PKG
=
"
$(
epm tool eget
--list
--latest
https://myoffice.ru/products/standard-home-edition/
$PKGMASK
)
"
||
fatal
"Can't get package URL
"
# https://preset.myoffice-app.ru/myoffice-standard-home-edition
-2.3.0-x86_64.rpm
# https://preset.myoffice-app.ru/myoffice-standard-home-edition_2.3.0_amd64.deb
PKG
MASK
=
"
$(
epm print constructname
$PKGNAME
"*"
""
""
""
"[-_]"
)
"
PKG
=
"
$(
epm tool eget
--list
--latest
https://myoffice.ru/products/standard-home-edition/
"
$PKGMASK
"
)
"
||
fatal
"Can't get package URL"
epm
install
"
$PKG
"
play.d/rstudio.sh
View file @
aef9e240
...
...
@@ -35,7 +35,7 @@ case $(epm print info -e) in
;;
esac
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"*"
$arch
$pkgtype
)
"
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"*"
$arch
$pkgtype
"-"
"-"
)
"
PKG
=
"
$(
epm tool eget
--list
https://www.rstudio.com/products/rstudio/download/
$PKGMASK
|
grep
$PKGFILTER
)
"
||
fatal
"Can't get package URL"
[
-n
"
$PKG
"
]
||
fatal
"Can't get package URL"
...
...
play.d/signal.sh
View file @
aef9e240
...
...
@@ -7,6 +7,6 @@ DOWNURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop"
.
$(
dirname
$0
)
/common.sh
URL
=
$(
epm tool eget
--list
--latest
http://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/
'
*.
amd64.deb'
)
URL
=
$(
epm tool eget
--list
--latest
http://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/
'
${PKGNAME}_*_
amd64.deb'
)
URL
=
$(
echo
"
$URL
"
|
sed
-e
"s|
\(
.*/
\)
|
$DOWNURL
/|"
)
epm
install
"
$URL
"
play.d/sweethome3d.sh
View file @
aef9e240
...
...
@@ -25,7 +25,7 @@ esac
#PKGURL="http://download.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-$VERSION/SweetHome3D-$VERSION-linux-$arch.tgz"
# http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.1/SweetHome3D-7.1-linux-x86.tgz/download
URL
=
"
$(
eget
-4
--list
--latest
https://www.sweethome3d.com/download.jsp SweetHome3D-
.
*
-linux-
$arch
.tgz/download
)
"
URL
=
"
$(
eget
-4
--list
--latest
https://www.sweethome3d.com/download.jsp SweetHome3D-
*
-linux-
$arch
.tgz/download
)
"
PKGURL
=
"
$(
echo
"
$URL
"
|
sed
-e
"s|http://sourceforge.net/projects/sweethome3d/files|http://download.sourceforge.net/project/sweethome3d|"
-e
's|/download$||'
)
"
epm
install
"
$PKGURL
"
play.d/telegram.sh
View file @
aef9e240
...
...
@@ -12,7 +12,7 @@ if echo "$2" | grep -q "beta" || epm installed Telegram-beta ; then
PKGNAME
=
$PKGNAME
-
$BRANCH
fi
VERSION
=
"
.
*
$BRANCH
"
VERSION
=
"*
$BRANCH
"
[
-n
"
$2
"
]
&&
[
"
$2
"
!=
"beta"
]
&&
VERSION
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
...
...
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