1 # Contributor: Slash <demodevil5[at]yahoo[dot]com>
2 # Maintainer: J.W. Birdsong <jwbirdsongATmailDOTcom>
7 pkgdesc="TeamSpeak is software for quality voice communication via the Internet"
8 url="http://www.teamspeak.com/"
11 optdepends='libpulse':"obvious reasons"
12 arch=('i686' 'x86_64')
13 source=("http://teamspeak.gameserver.gamed.de/ts3/releases/${pkgver}/TeamSpeak3-Client-linux_x86-${pkgver}.run"
15 'teamspeak3.desktop' 'icon.xpm' 'teamspeak3.launcher')
18 md5sums=('bf061d0669a6872176779d624f722bdb'
19 'be58a8798c5d1b7e95a89f6a6482db3e'
20 '19f103384e4c1a0aafc8fed44de0c87b'
21 '170fcbb1b468ce4f3dba7ee3fb2a1c6d')
25 if [ "$CARCH" == "x86_64" ]; then
27 source[0]="http://teamspeak.gameserver.gamed.de/ts3/releases/${pkgver}/TeamSpeak3-Client-linux_amd64-${pkgver}.run"
28 md5sums[0]='b8fc765602905762c4491590162d2773'
34 # Create Destination Directories
35 install -d ${pkgdir}/{usr/bin/,opt/}
37 # Make Installer Executable
38 chmod +x TeamSpeak3-Client-linux_${_TSARCH}-${pkgver}.run
41 ./TeamSpeak3-Client-linux_${_TSARCH}-${pkgver}.run --noexec --target teamspeak3
43 # Move Program Data to Package Directory
44 mv ${srcdir}/teamspeak3/ ${pkgdir}/opt/
46 # Remove Bundled Qt Libraries and Symlink system libraries to TS3 Directory
47 rm ${pkgdir}/opt/teamspeak3/libQt*
48 ln -s /usr/lib/libQtCore.so.4 ${pkgdir}/opt/teamspeak3/libQtCore.so.4
49 ln -s /usr/lib/libQtGui.so.4 ${pkgdir}/opt/teamspeak3/libQtGui.so.4
50 ln -s /usr/lib/libQtNetwork.so.4 ${pkgdir}/opt/teamspeak3/libQtNetwork.so.4
52 # Install Desktop File
53 install -D -m644 $srcdir/teamspeak3.desktop \
54 ${pkgdir}/usr/share/applications/teamspeak3.desktop
57 install -D -m644 $srcdir/icon.xpm \
58 ${pkgdir}/usr/share/pixmaps/teamspeak3.xpm
60 # Install Custom License
61 install -D -m644 ${pkgdir}/opt/teamspeak3/LICENSE \
62 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
64 # Install Client Launcher
65 install -D -m755 $srcdir/teamspeak3.launcher \
66 ${pkgdir}/usr/bin/teamspeak3
68 # vim:set ts=2 sw=2 et: