diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-04-09 00:36:58 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-13 07:27:46 +0700 |
commit | e5380977a1a09f7aa85feb75786d58d62faede49 (patch) | |
tree | 8ce5edc1f510d16486c80b0b537b62a5960d98e0 /desktop/awesome-extra/awesome-extra.SlackBuild | |
parent | 558f9e3e3bc51068a2c121ddebc0a89489400484 (diff) |
desktop/awesome-extra: Updated for version 2016121101.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 d70ab9abb9824..05b240c98b4ce 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 . \ |