diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2016-12-09 11:03:16 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-17 06:55:59 +0700 |
commit | 64ca933a33d788aa708112812037047dfd7b582a (patch) | |
tree | 984ef0d57a7a426ece2be59013ded957555ea9be /desktop/lxpanel/lxpanel.SlackBuild | |
parent | 66b27a286d70cfe58c22ae4e9699b55ca3e87bf7 (diff) |
desktop/lxpanel: Updated for version 0.9.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/lxpanel/lxpanel.SlackBuild')
-rw-r--r-- | desktop/lxpanel/lxpanel.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/desktop/lxpanel/lxpanel.SlackBuild b/desktop/lxpanel/lxpanel.SlackBuild index 905cf5641f6b..fbafac868f1f 100644 --- a/desktop/lxpanel/lxpanel.SlackBuild +++ b/desktop/lxpanel/lxpanel.SlackBuild @@ -25,13 +25,13 @@ # Modified by Matteo Bernardini <ponce@slackbuilds.org> PRGNAM=lxpanel -VERSION=${VERSION:-0.8.2} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} 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 @@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS COPYING ChangeLog README" -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" @@ -73,6 +73,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# apply patches from upstream +for i in $CWD/patches/* ; do patch -p1 < $i ; done + sh autogen.sh || true CFLAGS="$SLKCFLAGS" \ |