Skype 2.1.0.47 per slackware 13
Inviato: ven 4 set 2009, 0:09
Ecco lo SlackBuild di Skype 2.1.0.47 per la slackware 13
skype.SlackBuild
slack-desc
skype.SlackBuild
Codice: Seleziona tutto
#!/bin/sh
# http://www.skype.com/
# Packager ScorpionIT
CWD=`pwd`
TMP=${TMP:-/tmp/txz}
PKG=$TMP/package-skype
NAME=skype
VERSION=2.1.0.47
ARCH=i386
BUILD=scm
if [ ! -d $TMP ]; then
mkdir -p $TMP
fi
if [ ! -d $PKG ]; then
mkdir -p $PKG
fi
mkdir -p $PKG
cd $TMP
tar xjvf $CWD/skype_static-$VERSION.tar.bz2
cd skype_static-$VERSION
chown -R root:root .
mkdir -p $PKG/usr/bin
cat << EOF > $PKG/usr/bin/$NAME
#!/bin/bash
cd /usr/share/skype
exec /usr/share/skype/skype
EOF
chmod 755 $PKG/usr/bin/$NAME
mkdir -p $PKG/usr/share/skype
cp -a skype $PKG/usr/share/skype
mkdir -p $PKG/etc/dbus-1/system.d
cp skype.conf $PKG/etc/dbus-1/system.d
mkdir -p $PKG/usr/share/skype
cp -a sounds avatars lang $PKG/usr/share/skype
mkdir -p $PKG/usr/share/applications
cp -a skype.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/icons/hicolor/16x16/apps
mkdir -p $PKG/usr/share/icons/hicolor/32x32/apps
mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps
( cd icons
cp -a SkypeBlue*16*.png $PKG/usr/share/icons/hicolor/16x16/apps/skype.png
cp -a SkypeBlue*32*.png $PKG/usr/share/icons/hicolor/32x32/apps/skype.png
cp -a SkypeBlue*48*.png $PKG/usr/share/icons/hicolor/48x48/apps/skype.png
)
mkdir -p $PKG/usr/doc/$NAME-$VERSION
cp -a LICENSE README $PKG/usr/doc/$NAME-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/slack-desc > $PKG/usr/doc/$NAME-$VERSION/slack-desc
cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
cd $PKG
requiredbuilder -v -y -s $CWD $PKG
makepkg -l y -c n $CWD/$NAME-$VERSION-$ARCH-$BUILD.txz
if [ "$1" = "--cleanup" ]; then
rm -rf $TMP
fi
Codice: Seleziona tutto
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|----handy-ruler---------------------------------------------------------|
skype: Skype (Free Internet telephony)
skype:
skype: Skype is a peer-to-peer Internet telephony network. It competes against
skype: existing open VoIP protocols such as SIP, IAX, and H.323.
skype:
skype:
skype:
skype:
skype: Packager ScorpionIT
skype:
skype: