diff options
Diffstat (limited to 'desktop/awesome-extra/awesome-extra.SlackBuild')
-rw-r--r-- | desktop/awesome-extra/awesome-extra.SlackBuild | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/desktop/awesome-extra/awesome-extra.SlackBuild b/desktop/awesome-extra/awesome-extra.SlackBuild index d70ab9abb9..05b240c98b 100644 --- a/desktop/awesome-extra/awesome-extra.SlackBuild +++ b/desktop/awesome-extra/awesome-extra.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for awesome-extra. # -# 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 @@ -23,36 +23,18 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=awesome-extra -VERSION=${VERSION:-2012061101} +VERSION=${VERSION:-2016121101} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi +SRCVER="2016121101+nmu1" set -e @@ -60,8 +42,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz -mv $PRGNAM $PRGNAM-$VERSION +tar xvf $CWD/${PRGNAM}_${SRCVER}.tar.xz +mv ${PRGNAM}-${SRCVER} $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |