aboutsummaryrefslogtreecommitdiff
path: root/network/pidgin-opensteamworks
diff options
context:
space:
mode:
authorRonny Schmatzler <schmatzler@hirnschwund.net>2015-09-24 09:15:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-24 09:15:26 +0700
commitb6c8ec6ee74063d3d784bae873b7e029f708e637 (patch)
tree6bfcfccbf792c86aa4744cfe34e3897223067e33 /network/pidgin-opensteamworks
parent5ee19dc3ba258cb9af62262279031e8b2372f680 (diff)
network/pidgin-opensteamworks: Updated for version 1.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/pidgin-opensteamworks')
-rw-r--r--network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild21
-rw-r--r--network/pidgin-opensteamworks/pidgin-opensteamworks.info10
-rw-r--r--network/pidgin-opensteamworks/slack-desc2
3 files changed, 18 insertions, 15 deletions
diff --git a/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild b/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild
index 838d9f44acc89..a73d131ef208c 100644
--- a/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild
+++ b/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild
@@ -1,13 +1,13 @@
#!/bin/sh
-# Slackware build script for pidgin-nudge
+# Slackware build script for pidgin-opensteamworks
# Written by Ronny Schmatzler <schmatzler@hirnschwund.net>
# Based on http://slackbuilds.org/template.SlackBuild
PRGNAM=pidgin-opensteamworks
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,23 +40,28 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION/
-tar xvjf $CWD/steam-mobile-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM-$VERSION/steam-mobile
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -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 {} \;
make
+# Copy the library
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
cp libsteam.so $PKG/usr/lib${LIBDIRSUFFIX}/purple-2/
-mkdir -p $PKG/usr/share/pixmaps/pidgin/protocols
-unzip $CWD/icons.zip -d $PKG/usr/share/pixmaps/pidgin/protocols
+# Copy the images
+mkdir -p $PKG/usr/share/pixmaps/pidgin/protocols/16
+mkdir -p $PKG/usr/share/pixmaps/pidgin/protocols/22
+mkdir -p $PKG/usr/share/pixmaps/pidgin/protocols/48
+cp steam16.png $PKG/usr/share/pixmaps/pidgin/protocols/16/steam.png
+cp steam22.png $PKG/usr/share/pixmaps/pidgin/protocols/22/steam.png
+cp steam48.png $PKG/usr/share/pixmaps/pidgin/protocols/48/steam.png
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/pidgin-opensteamworks/pidgin-opensteamworks.info b/network/pidgin-opensteamworks/pidgin-opensteamworks.info
index 7473403ee0878..bc607aab7754e 100644
--- a/network/pidgin-opensteamworks/pidgin-opensteamworks.info
+++ b/network/pidgin-opensteamworks/pidgin-opensteamworks.info
@@ -1,10 +1,8 @@
PRGNAM="pidgin-opensteamworks"
-VERSION="1.5"
-HOMEPAGE="http://code.google.com/p/pidgin-opensteamworks/"
-DOWNLOAD="http://pidgin-opensteamworks.googlecode.com/svn/trunk/steam-mobile/releases/steam-mobile-1.5.tar.bz2 \
- http://pidgin-opensteamworks.googlecode.com/svn/trunk/steam-mobile/releases/icons.zip"
-MD5SUM="a74caa8a047aae6ae1ed5c43728b0099 \
- 1e27be6c208d4bf543533e49edd48b6d"
+VERSION="1.6.1"
+HOMEPAGE="https://github.com/EionRobb/pidgin-opensteamworks"
+DOWNLOAD="https://github.com/EionRobb/pidgin-opensteamworks/archive/1.6.1.tar.gz"
+MD5SUM="a397dbb2fd1d58769506567bd2aa6f1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="json-glib"
diff --git a/network/pidgin-opensteamworks/slack-desc b/network/pidgin-opensteamworks/slack-desc
index d11ede6515ba0..feea1c822ed15 100644
--- a/network/pidgin-opensteamworks/slack-desc
+++ b/network/pidgin-opensteamworks/slack-desc
@@ -15,5 +15,5 @@ pidgin-opensteamworks:
pidgin-opensteamworks:
pidgin-opensteamworks:
pidgin-opensteamworks:
-pidgin-opensteamworks: Home: http://code.google.com/p/pidgin-opensteamworks/
+pidgin-opensteamworks: Home: https://github.com/EionRobb/pidgin-opensteamworks
pidgin-opensteamworks: