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
9668aec8
Commit
9668aec8
authored
Jul 21, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play vkteams: implement via epm pack
parent
9cfd5fd7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
10 deletions
+22
-10
vkteams.sh
pack.d/vkteams.sh
+21
-0
vkteams.sh
play.d/vkteams.sh
+1
-4
vkteams.sh
repack.d/vkteams.sh
+0
-6
No files found.
pack.d/vkteams.sh
0 → 100755
View file @
9668aec8
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
if
echo
"
$TAR
"
|
grep
-q
"vkteams.tar.xz"
;
then
erc
"
$TAR
"
||
fatal
else
fatal
"We support only vkteams.tar.xz"
fi
mkdir
opt
mv
vkteams.tar opt/
$PRODUCT
||
fatal
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
erc pack
$PKGNAME
opt/
$PRODUCT
return_tar
$PKGNAME
play.d/vkteams.sh
View file @
9668aec8
...
...
@@ -10,8 +10,5 @@ DESCRIPTION="VK Teams for Linux from the official site"
VERSION
=
"1.0"
PKGURL
=
"https://vkteams-www.hb.bizmrg.com/linux/x64/vkteams.tar.xz"
PKGFILE
=
"/tmp/
$PKGNAME
-
$VERSION
.tar.xz"
epm tool eget
-O
$PKGFILE
$PKGURL
||
exit
epm
install
--repack
"
$PKGFILE
"
||
exit
epm pack
--install
$PKGNAME
"
$PKGURL
"
"
$VERSION
"
repack.d/vkteams.sh
View file @
9668aec8
...
...
@@ -14,12 +14,6 @@ subst "s|^Group:.*|Group: Networking/Instant messaging|" $SPEC
subst
"s|^URL:.*|URL: https://teams.vk.com/|"
$SPEC
subst
"s|^Summary:.*|Summary: VK Teams|"
$SPEC
# move package to /opt
mkdir
-p
$BUILDROOT$PRODUCTDIR
mv
$BUILDROOT
/
*
$BUILDROOT$PRODUCTDIR
subst
"s|
\"
/|
\"
$PRODUCTDIR
/|"
$SPEC
pack_dir
$PRODUCTDIR
add_bin_exec_command
$PRODUCT
# Hack against https://bugzilla.altlinux.org/43779
# Create non writeable local .desktop file
...
...
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