teamspeak3: fix build by moving contents

The teamspeak3 build has been fixed by moving the content
to "/usr/lib/teamspeak3". Besides, the flag "noverfyrdeps"
and "nostrip" has been added, because teamspeak3 does provide
the required libraries himself.
This commit is contained in:
Kevin Rohland 2019-04-15 22:30:00 +02:00 committed by maxice8
parent f90c760f09
commit 53eab8f6ed
2 changed files with 7 additions and 5 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
exec /usr/share/teamspeak3/ts3client_runscript.sh $@ exec /usr/lib/teamspeak3/ts3client_runscript.sh $@

View file

@ -1,10 +1,10 @@
# Template file for 'teamspeak3' # Template file for 'teamspeak3'
pkgname=teamspeak3 pkgname=teamspeak3
version=3.2.3 version=3.2.3
revision=1 revision=2
archs="i686 x86_64"
wrksrc=teamspeak3 wrksrc=teamspeak3
create_wrksrc=yes create_wrksrc=yes
archs="i686 x86_64"
short_desc="Popular proprietary voice chat for gaming" short_desc="Popular proprietary voice chat for gaming"
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>" maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
license="Proprietary" license="Proprietary"
@ -12,6 +12,8 @@ homepage="http://www.teamspeak.com/"
restricted=yes restricted=yes
repository="nonfree" repository="nonfree"
nopie=yes nopie=yes
nostrip=yes
noverifyrdeps=yes
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_pkg="TeamSpeak3-Client-linux_amd64-${version}" _pkg="TeamSpeak3-Client-linux_amd64-${version}"
@ -39,8 +41,8 @@ do_install() {
find -name *.so | xargs chmod 755 find -name *.so | xargs chmod 755
chmod +x ts3client* chmod +x ts3client*
vmkdir "usr/share/teamspeak3" vmkdir "usr/lib/teamspeak3"
vcopy * "usr/share/teamspeak3" vcopy * "usr/lib/teamspeak3"
# Install desktop file # Install desktop file
vinstall "${FILESDIR}/teamspeak3.desktop" 644 "usr/share/applications" vinstall "${FILESDIR}/teamspeak3.desktop" 644 "usr/share/applications"