summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGethyn ThomasQuail <gethyn@bloodbathsoftworks.com>2015-08-09 00:09:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-09 23:03:32 +0700
commitba8fffd89d3b0859e3fe377b68c55b6bec50de1a (patch)
tree2116d1cf2aa163ba8cd5c2c752b6061ca9e01737
parent57b6f634625160e25689e5ea9afc328fd4c98339 (diff)
downloadslackbuilds-ba8fffd89d3b0859e3fe377b68c55b6bec50de1a.tar.gz
network/pidgin-skypeweb: Updated for version 0c354d57.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/pidgin-skypeweb/README4
-rw-r--r--network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild28
-rw-r--r--network/pidgin-skypeweb/pidgin-skypeweb.info6
3 files changed, 14 insertions, 24 deletions
diff --git a/network/pidgin-skypeweb/README b/network/pidgin-skypeweb/README
index 2e23cb4ac7..4ad7338fa1 100644
--- a/network/pidgin-skypeweb/README
+++ b/network/pidgin-skypeweb/README
@@ -1,6 +1,2 @@
Adds Skype client-less chat (text only) to Pidgin using the SkypeWeb protocol. Has many features already,
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.
diff --git a/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild b/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild
index b166309726..00014e6ae3 100644
--- a/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild
+++ b/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild
@@ -6,9 +6,10 @@
# All rights reserved.
#
# Based on:
-# Chunks from Facebook Chat for Pidgin's Slackbuild by Erik W. Hanson Copyright 2009-2010
# 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
# permitted provided that the following conditions are met:
#
@@ -27,7 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pidgin-skypeweb
-VERSION=${VERSION:-18072015}
+VERSION=${VERSION:-0c354d57caf1f279bbeadf80a3a57cfda3cb6217}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,9 +64,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf skype4pidgin-$VERSION
+unzip $CWD/skype4pidgin-$VERSION.zip || unzip $CWD/$VERSION.zip
+cd skype4pidgin-$VERSION
chown -R root:root .
find -L . \
\( -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 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Build plugin
-make
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/purple-2
-install -m 0755 libskypeweb.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/libskypeweb.so
+# Go to skypeweb folder, since there is two plugins in this archive
+cd skypeweb
-# 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
+# Let's compile!
+make
+make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md gpl3.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/network/pidgin-skypeweb/pidgin-skypeweb.info b/network/pidgin-skypeweb/pidgin-skypeweb.info
index 8b74e3469b..38da59e4dd 100644
--- a/network/pidgin-skypeweb/pidgin-skypeweb.info
+++ b/network/pidgin-skypeweb/pidgin-skypeweb.info
@@ -1,8 +1,8 @@
PRGNAM="pidgin-skypeweb"
-VERSION="18072015"
+VERSION="0c354d57caf1f279bbeadf80a3a57cfda3cb6217"
HOMEPAGE="https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb"
-DOWNLOAD="http://www.bloodbathsoftworks.com/xylemon/uploads/sbomirrors/pidgin-skypeweb-18072015.tar.gz"
-MD5SUM="293e5496ea107bfff9c15e5f2935dd12"
+DOWNLOAD="https://github.com/EionRobb/skype4pidgin/archive/0c354d57caf1f279bbeadf80a3a57cfda3cb6217.zip"
+MD5SUM="996cd2e4be64fbdb7d302e2284f7486f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="json-glib"