summaryrefslogtreecommitdiff
path: root/network/sparkleshare/sparkleshare.SlackBuild
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/sparkleshare.SlackBuild
parent1fbbe83ec3313ef75f423effe42dc35e0cc7b4f1 (diff)
downloadslackbuilds-5455d11ee44523be4f2ff497701e41b171586739.tar.gz
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/sparkleshare.SlackBuild')
-rw-r--r--network/sparkleshare/sparkleshare.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/network/sparkleshare/sparkleshare.SlackBuild b/network/sparkleshare/sparkleshare.SlackBuild
index 68f5dc0cd0..7d9ed01a19 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" \