aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2016-08-14 23:09:59 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-14 23:25:23 +0100
commitd1701a692900b0384123dd0960d35e8a0454ec72 (patch)
tree4fcc5757a5d070f9a680360cd6ca302637d2a3d3 /desktop
parent7605cfde74dda18b76492d43128cba67ad873ae0 (diff)
desktop/spectrwm: Updated for version 3.0.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/spectrwm/spectrwm.SlackBuild16
-rw-r--r--desktop/spectrwm/spectrwm.info8
2 files changed, 12 insertions, 12 deletions
diff --git a/desktop/spectrwm/spectrwm.SlackBuild b/desktop/spectrwm/spectrwm.SlackBuild
index ca3cc4494c62..37243436e6d3 100644
--- a/desktop/spectrwm/spectrwm.SlackBuild
+++ b/desktop/spectrwm/spectrwm.SlackBuild
@@ -24,13 +24,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=spectrwm
-VERSION=${VERSION:-2.7.2}
+VERSION=${VERSION:-3.0.2}
+UPNAM=SPECTRWM_3_0_2 # changed to allow cd to proper folder
BUILD=${BUILD:-1}
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,10 +41,9 @@ CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-UPNAM=$PRGNAM-SPECTRWM_2_7_2 # changed to allow cd to proper folder
-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"
@@ -61,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$UPNAM.tar.gz
-cd $UPNAM
+rm -rf $PRGNAM-$UPNAM
+tar xvf $CWD/$PRGNAM-$UPNAM.tar.gz || tar xvf $CWD/$UPNAM.tar.gz
+cd $PRGNAM-$UPNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/desktop/spectrwm/spectrwm.info b/desktop/spectrwm/spectrwm.info
index d1cb462fc161..31d825e58f03 100644
--- a/desktop/spectrwm/spectrwm.info
+++ b/desktop/spectrwm/spectrwm.info
@@ -1,8 +1,8 @@
PRGNAM="spectrwm"
-VERSION="2.7.2"
-HOMEPAGE="https://github.com/conformal/spectrwm"
-DOWNLOAD="https://github.com/conformal/spectrwm/archive/SPECTRWM_2_7_2.tar.gz"
-MD5SUM="64755f7003faf099cebdc3e6b907c4d1"
+VERSION="3.0.2"
+HOMEPAGE="https://github.com/conformal/spectrwm/"
+DOWNLOAD="https://github.com/conformal/spectrwm/archive/SPECTRWM_3_0_2.tar.gz"
+MD5SUM="b95af7630bfc1cae4de07286ac7e2318"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""