diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2016-08-26 22:11:25 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-28 00:22:59 +0100 |
commit | 16083b9211eca9bfd678684dcd6298b7db186fe0 (patch) | |
tree | 5d604f84976b2f9a9f6a280a04dc66aa125888d1 /development/uncrustify/uncrustify.SlackBuild | |
parent | 422bb7d3a0eed3b32f07490f29a63066e34e22f7 (diff) | |
download | slackbuilds-16083b9211eca9bfd678684dcd6298b7db186fe0.tar.gz |
development/uncrustify: Updated for version 0.63.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/uncrustify/uncrustify.SlackBuild')
-rw-r--r-- | development/uncrustify/uncrustify.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/development/uncrustify/uncrustify.SlackBuild b/development/uncrustify/uncrustify.SlackBuild index 7b030ee0a6..9df803573e 100644 --- a/development/uncrustify/uncrustify.SlackBuild +++ b/development/uncrustify/uncrustify.SlackBuild @@ -5,13 +5,13 @@ # Written by Aleksandar Samardzic <asamardzic@gmail.com> PRGNAM=uncrustify -VERSION=${VERSION:-0.61} +VERSION=${VERSION:-0.63} 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 @@ -22,12 +22,14 @@ 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" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" fi set -e @@ -64,7 +66,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL NEWS README ChangeLog documentation \ +cp -a AUTHORS COPYING INSTALL NEWS ChangeLog documentation \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |