From d1701a692900b0384123dd0960d35e8a0454ec72 Mon Sep 17 00:00:00 2001 From: LEVAI Daniel Date: Sun, 14 Aug 2016 23:09:59 +0100 Subject: [PATCH] desktop/spectrwm: Updated for version 3.0.2. Signed-off-by: David Spencer --- desktop/spectrwm/spectrwm.SlackBuild | 16 ++++++++-------- desktop/spectrwm/spectrwm.info | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/desktop/spectrwm/spectrwm.SlackBuild b/desktop/spectrwm/spectrwm.SlackBuild index ca3cc4494c..37243436e6 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 d1cb462fc1..31d825e58f 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=""