aboutsummaryrefslogtreecommitdiff
path: root/network/sparkleshare
diff options
context:
space:
mode:
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 68f5dc0cd0e4..7d9ed01a1965 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 7c512a934999..3d0f2a8910c2 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"