aboutsummaryrefslogtreecommitdiff
path: root/network/sparkleshare
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-04-26 22:05:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-27 18:16:06 +0700
commit5455d11ee44523be4f2ff497701e41b171586739 (patch)
treecf25aa904257dfd969a82eab64c7dd5db90a1180 /network/sparkleshare
parent1fbbe83ec3313ef75f423effe42dc35e0cc7b4f1 (diff)
network/sparkleshare: Updated for version 1.2.0.
Actually 1.2.0 is the same as 1.2, but the previous 1.2 source is gone. (There was no 1.3 release, and 1.4/1.5 both require gtk-sharp-3.0, so we have to stay with 1.2.) Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/sparkleshare')
-rw-r--r--network/sparkleshare/sparkleshare.SlackBuild14
-rw-r--r--network/sparkleshare/sparkleshare.info6
2 files changed, 12 insertions, 8 deletions
diff --git a/network/sparkleshare/sparkleshare.SlackBuild b/network/sparkleshare/sparkleshare.SlackBuild
index 68f5dc0cd0e41..7d9ed01a19652 100644
--- a/network/sparkleshare/sparkleshare.SlackBuild
+++ b/network/sparkleshare/sparkleshare.SlackBuild
@@ -25,7 +25,8 @@
# Updated by Donald Cooley <dfc@warpmail.net>
PRGNAM=sparkleshare
-VERSION=${VERSION:-1.2}
+SRCNAM=SparkleShare
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,15 +62,18 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-linux-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $SRCNAM-$VERSION
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 {} \;
+
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/network/sparkleshare/sparkleshare.info b/network/sparkleshare/sparkleshare.info
index 7c512a9349991..3d0f2a8910c2d 100644
--- a/network/sparkleshare/sparkleshare.info
+++ b/network/sparkleshare/sparkleshare.info
@@ -1,8 +1,8 @@
PRGNAM="sparkleshare"
-VERSION="1.2"
+VERSION="1.2.0"
HOMEPAGE="http://www.sparkleshare.org"
-DOWNLOAD="https://bitbucket.org/hbons/sparkleshare/downloads/sparkleshare-linux-1.2.tar.gz"
-MD5SUM="befc1542079b0fc6e4b57fa7fdfab12e"
+DOWNLOAD="https://github.com/hbons/SparkleShare/archive/1.2.0.tar.gz"
+MD5SUM="ece619cda9aefb2939a5094183849e71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="notify-sharp webkit-sharp"