teamspeak5.sh 593 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#!/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
13
mv teamspeak-client* opt/TeamSpeak
14 15 16 17 18

PKGNAME=$PRODUCT-$VERSION

erc a $PKGNAME.tar opt/TeamSpeak

19 20 21 22 23 24 25 26 27
cat <<EOF >$PKGNAME.tar.eepm.yaml
name: $PRODUCT
group: Video
license: Proprietary
url: http://www.teamspeak.com
summary: TeamSpeak is software for quality voice communication via the Internet
description: eamSpeak is software for quality voice communication via the Internet
EOF

28
return_tar $PKGNAME.tar