diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-01-14 20:10:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-14 20:10:06 +0700 |
commit | cae46c4f78bcc7daac7b9e7e4ff335e47fb8235b (patch) | |
tree | d2694956cab55831546859a82e92065fceee65a5 /desktop/gnome-menus/gnome-menus.SlackBuild | |
parent | 71fa21cf67af4f90de12960c51e7c60a93c75e0c (diff) |
desktop/gnome-menus: Update dep.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gnome-menus/gnome-menus.SlackBuild')
-rw-r--r-- | desktop/gnome-menus/gnome-menus.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/desktop/gnome-menus/gnome-menus.SlackBuild b/desktop/gnome-menus/gnome-menus.SlackBuild index d1640db10a19f..2e60d650828b6 100644 --- a/desktop/gnome-menus/gnome-menus.SlackBuild +++ b/desktop/gnome-menus/gnome-menus.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - -# Slackware build script for gnome-menus - -# Copyright 2015 Edinaldo P. Silva +# +# Slackware build script for gnome-menus. +# +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,12 @@ PRGNAM=gnome-menus VERSION=${VERSION:-3.13.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -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" @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING ChangeLog README" +DOCS="AUTHORS ChangeLog* COPYING* HACKING MAINTAINERS NEWS README" set -e @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -73,7 +73,7 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +./autogen.sh \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ |