network/pidgin-skypeweb: Updated for version 0c354d57.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Gethyn ThomasQuail 2015-08-09 00:09:12 +07:00 committed by Willy Sudiarto Raharjo
parent 57b6f63462
commit ba8fffd89d
3 changed files with 15 additions and 25 deletions

View file

@ -1,6 +1,2 @@
Adds Skype client-less chat (text only) to Pidgin using the SkypeWeb protocol. Has many features already, Adds Skype client-less chat (text only) to Pidgin using the SkypeWeb protocol. Has many features already,
such as group chat. such as group chat.
A copy of the of the GitHub repo is hosted on my website, dated with the last commit date (will be updated
weekly). I only have mirrored it and made a tarball of the skypeweb folder (rather than the whole repo).
Nothing else was changed.

View file

@ -6,9 +6,10 @@
# All rights reserved. # All rights reserved.
# #
# Based on: # Based on:
# Chunks from Facebook Chat for Pidgin's Slackbuild by Erik W. Hanson Copyright 2009-2010
# SBo's cmake-template # SBo's cmake-template
# #
# Previously used chunks from Erik W. Hanson's FaceBook SlackBuild.
#
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met: # permitted provided that the following conditions are met:
# #
@ -27,7 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pidgin-skypeweb PRGNAM=pidgin-skypeweb
VERSION=${VERSION:-18072015} VERSION=${VERSION:-0c354d57caf1f279bbeadf80a3a57cfda3cb6217}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -63,9 +64,9 @@ set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf skype4pidgin-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz unzip $CWD/skype4pidgin-$VERSION.zip || unzip $CWD/$VERSION.zip
cd $PRGNAM-$VERSION cd skype4pidgin-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -73,20 +74,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Build plugin
# Go to skypeweb folder, since there is two plugins in this archive
cd skypeweb
# Let's compile!
make make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/purple-2
install -m 0755 libskypeweb.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/libskypeweb.so
# Move protocol icons into place
mkdir -p $PKG/usr/share/pixmaps/pidgin/protocols/{16,22,48}
install -m 0644 icons/16/skype.png $PKG/usr/share/pixmaps/pidgin/protocols/16/skype.png
install -m 0644 icons/22/skype.png $PKG/usr/share/pixmaps/pidgin/protocols/22/skype.png
install -m 0644 icons/48/skype.png $PKG/usr/share/pixmaps/pidgin/protocols/48/skype.png
install -m 0644 icons/16/skypeout.png $PKG/usr/share/pixmaps/pidgin/protocols/16/skypeout.png
install -m 0644 icons/22/skypeout.png $PKG/usr/share/pixmaps/pidgin/protocols/22/skypeout.png
install -m 0644 icons/48/skypeout.png $PKG/usr/share/pixmaps/pidgin/protocols/48/skypeout.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md gpl3.txt $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md gpl3.txt $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="pidgin-skypeweb" PRGNAM="pidgin-skypeweb"
VERSION="18072015" VERSION="0c354d57caf1f279bbeadf80a3a57cfda3cb6217"
HOMEPAGE="https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb" HOMEPAGE="https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb"
DOWNLOAD="http://www.bloodbathsoftworks.com/xylemon/uploads/sbomirrors/pidgin-skypeweb-18072015.tar.gz" DOWNLOAD="https://github.com/EionRobb/skype4pidgin/archive/0c354d57caf1f279bbeadf80a3a57cfda3cb6217.zip"
MD5SUM="293e5496ea107bfff9c15e5f2935dd12" MD5SUM="996cd2e4be64fbdb7d302e2284f7486f"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="json-glib" REQUIRES="json-glib"