diff options
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 24a1430e3eddf..91ce1b4e5ccf1 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 |