diff options
Diffstat (limited to 'network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild')
-rw-r--r-- | network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild | 28 |
1 files changed, 11 insertions, 17 deletions
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 |