summaryrefslogtreecommitdiffstats
path: root/teamspeak-client
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-02-20 13:51:25 +0000
committer Eric Hameleers <alien@slackware.com>2013-02-20 13:51:25 +0000
commitc0d7266ff225292c188dc4c40cf4a20e460c62a5 (patch)
tree5824c920b9ca532a5fe23dcd7f9b1a936c398b71 /teamspeak-client
parent233b6ac60382af40432579a1b7e78a783b60b6f2 (diff)
downloadasb-c0d7266ff225292c188dc4c40cf4a20e460c62a5.tar.gz
asb-c0d7266ff225292c188dc4c40cf4a20e460c62a5.tar.xz
This is the working version
Diffstat (limited to 'teamspeak-client')
-rwxr-xr-xteamspeak-client/build/teamspeak-client.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/teamspeak-client/build/teamspeak-client.SlackBuild b/teamspeak-client/build/teamspeak-client.SlackBuild
index d1c3e113..1496f705 100755
--- a/teamspeak-client/build/teamspeak-client.SlackBuild
+++ b/teamspeak-client/build/teamspeak-client.SlackBuild
@@ -40,6 +40,7 @@
# -----------------------------------------------------------------------------
PRGNAM=teamspeak-client
+SRCNAM=TeamSpeak3-Client-linux
VERSION=${VERSION:-3.0.9.2}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
@@ -63,8 +64,8 @@ TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SOURCE="$SRCDIR/TeamSpeak3-Client-linux_${PARCH}-${VERSION}.run"
-SRCURL="http://ftp.4players.de/pub/hosted/ts3/releases/${VERSION}/TeamSpeak3-Client-linux_${PARCH}-${VERSION}.run"
+SOURCE="$SRCDIR/${SRCNAM}_${PARCH}-${VERSION}.run"
+SRCURL="http://ftp.4players.de/pub/hosted/ts3/releases/${VERSION}/${SRCNAM}_${PARCH}-${VERSION}.run"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -126,7 +127,7 @@ echo "Extracting the source archive(s) for $PRGNAM..."
# Need to manually accept a license:
sh ${SOURCE}
-
+cd ${SRCNAM}_${PARCH}
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .
@@ -138,7 +139,7 @@ cp -R * ${PKG}/opt/teamspeak3-client/
# Install a wrapper script:
mkdir -p $PKG/usr/bin
-cp -a %SRCDIR/teamspeak3 $PKG/usr/bin/
+cp -a $SRCDIR/teamspeak3 $PKG/usr/bin/
chmod 755 $PKG/usr/bin/teamspeak3
# Rename the binary, we will call this binary from within our wrapper script:
@@ -146,7 +147,7 @@ mv ${PKG}/opt/teamspeak3-client/ts3client_linux_* ${PKG}/opt/teamspeak3-client/t
# Create a desktop menu entry:
mkdir -p $PKG/usr/share/{applications,pixmaps}
-cp -ia /opt/teamspeak3-client/gfx/default/24x24_connect.png \
+cp -ia $PKG/opt/teamspeak3-client/gfx/default/24x24_connect.png \
$PKG/usr/share/pixmaps/teamspeak.png
cat <<EOT > $PKG/usr/share/applications/teamspeak3.desktop
[Desktop Entry]