summaryrefslogtreecommitdiffstats
path: root/desktop/skippy-xd/skippy-xd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/skippy-xd/skippy-xd.SlackBuild')
-rw-r--r--desktop/skippy-xd/skippy-xd.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/desktop/skippy-xd/skippy-xd.SlackBuild b/desktop/skippy-xd/skippy-xd.SlackBuild
index 9352744490..11ded9a0fb 100644
--- a/desktop/skippy-xd/skippy-xd.SlackBuild
+++ b/desktop/skippy-xd/skippy-xd.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for skippy-xd.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +24,12 @@
PRGNAM=skippy-xd
VERSION=${VERSION:-0.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,14 +54,16 @@ else
LIBDIRSUFFIX=""
fi
+RELVER="3d36059f147e9021e6ec6f8a4ef8dd01db40a52f"
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-mv $PRGNAM $PRGNAM-$VERSION
+rm -rf $PRGNAM-$RELVER
+tar xvf $CWD/$PRGNAM-$RELVER.tar.?z
+mv $PRGNAM-$RELVER $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \