diff options
author | Daniel Prosser <dpross1100@msn.com> | 2018-01-03 11:14:06 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:55:26 +0700 |
commit | a8d5606d4ccc08d14009c1a1abdc085f31677779 (patch) | |
tree | 03c77ea2d812a64a8bd53e1c5e3ab656867a8074 /desktop/awesome-appmenu/awesome-appmenu.SlackBuild | |
parent | 8c2a972e71c1cc8e28c0c90e7de7470df43b8a52 (diff) | |
download | slackbuilds-a8d5606d4ccc08d14009c1a1abdc085f31677779.tar.gz |
desktop/awesome-appmenu: Updated for version 0.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/awesome-appmenu/awesome-appmenu.SlackBuild')
-rw-r--r-- | desktop/awesome-appmenu/awesome-appmenu.SlackBuild | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/desktop/awesome-appmenu/awesome-appmenu.SlackBuild b/desktop/awesome-appmenu/awesome-appmenu.SlackBuild index 24a1430e3e..91ce1b4e5c 100644 --- a/desktop/awesome-appmenu/awesome-appmenu.SlackBuild +++ b/desktop/awesome-appmenu/awesome-appmenu.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for awesome-appmenu -# Copyright 2016 Daniel Prosser, Lexington Park, MD +# Copyright 2018 Daniel Prosser, Lexington Park, MD # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,37 +23,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=awesome-appmenu -VERSION=${VERSION:-0.3} +VERSION=${VERSION:-0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - 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" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -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 - set -e rm -rf $PKG |