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
b761280c
Commit
b761280c
authored
Jul 22, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add teamspeak5
parent
ecad1189
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
0 deletions
+73
-0
teamspeak5.sh
pack.d/teamspeak5.sh
+19
-0
teamspeak5.sh
play.d/teamspeak5.sh
+14
-0
teamspeak5.sh
repack.d/teamspeak5.sh
+40
-0
No files found.
pack.d/teamspeak5.sh
0 → 100755
View file @
b761280c
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
[
"
$(
basename
$TAR
)
"
=
"teamspeak-client.tar.gz"
]
||
fatal
"Unsupported
$TAR
"
erc
$TAR
||
fatal
mkdir
-p
opt
mv
teamspeak-client.tar opt/TeamSpeak
PKGNAME
=
$PRODUCT
-
$VERSION
erc a
$PKGNAME
.tar opt/TeamSpeak
return_tar
$PKGNAME
.tar
play.d/teamspeak5.sh
0 → 100755
View file @
b761280c
#!/bin/sh
PKGNAME
=
teamspeak5
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"TeamSpeak5 Client for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
5.0.0-beta73
PKGURL
=
"https://files.teamspeak-services.com/pre_releases/client/
$VERSION
/teamspeak-client.tar.gz"
epm pack
--install
$PKGNAME
"
$PKGURL
"
$VERSION
repack.d/teamspeak5.sh
0 → 100755
View file @
b761280c
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTCUR
=
TeamSpeak
PRODUCTDIR
=
/opt/
$PRODUCTCUR
.
$(
dirname
$0
)
/common.sh
subst
"s|^Group:.*|Group: Video|"
$SPEC
#subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst
"s|^URL:.*|URL: http://www.teamspeak.com|"
$SPEC
subst
"s|^Summary:.*|Summary: TeamSpeak is software for quality voice communication via the Internet|"
$SPEC
add_bin_link_command
$PRODUCTCUR
$PRODUCTDIR
/TeamSpeak
add_bin_link_command
$PRODUCT
$PRODUCTCUR
add_electron_deps
fix_chrome_sandbox
# create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
cat
<<
EOF
>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Encoding=UTF-8
Name=TeamSpeak 5
GenericName=TeamSpeak 5 - Voice communication
Comment=TeamSpeak is software for quality voice communication via the Internet
Exec=teamspeak5
Icon=teamspeak5
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;Application
StartupWMClass=TeamSpeak 5
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
install_file .
$PRODUCTDIR
/logo-128.png /usr/share/pixmaps/
$PRODUCT
.png
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