desktop/spectrwm: Updated for version 3.0.2.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
LEVAI Daniel 2016-08-14 23:09:59 +01:00 committed by David Spencer
parent 7605cfde74
commit d1701a6929
2 changed files with 12 additions and 12 deletions

View file

@ -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 \

View file

@ -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=""