summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
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
commit16083b9211eca9bfd678684dcd6298b7db186fe0 (patch)
tree5d604f84976b2f9a9f6a280a04dc66aa125888d1 /development
parent422bb7d3a0eed3b32f07490f29a63066e34e22f7 (diff)
downloadslackbuilds-16083b9211eca9bfd678684dcd6298b7db186fe0.tar.gz
slackbuilds-16083b9211eca9bfd678684dcd6298b7db186fe0.tar.xz
development/uncrustify: Updated for version 0.63.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/uncrustify/slack-desc2
-rw-r--r--development/uncrustify/uncrustify.SlackBuild12
-rw-r--r--development/uncrustify/uncrustify.info6
3 files changed, 11 insertions, 9 deletions
diff --git a/development/uncrustify/slack-desc b/development/uncrustify/slack-desc
index 92487cdf24..77484614bf 100644
--- a/development/uncrustify/slack-desc
+++ b/development/uncrustify/slack-desc
@@ -13,7 +13,7 @@ uncrustify: indents (with spaces only, tabs and spaces, and tabs
uncrustify: only),, adds and removes newlines, has a high degree of
uncrustify: control over operator spacing, aligns code, is extremely
uncrustify: configurable, and is easy to modify.
-uncrustify:
+uncrustify:
uncrustify: Uncrustify home page is http://uncrustify.sourceforge.net/
uncrustify:
uncrustify:
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
diff --git a/development/uncrustify/uncrustify.info b/development/uncrustify/uncrustify.info
index dfc83d269a..f627fd46f6 100644
--- a/development/uncrustify/uncrustify.info
+++ b/development/uncrustify/uncrustify.info
@@ -1,8 +1,8 @@
PRGNAM="uncrustify"
-VERSION="0.61"
+VERSION="0.63"
HOMEPAGE="http://uncrustify.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/uncrustify/uncrustify-0.61.tar.gz"
-MD5SUM="b6140106e74c64e831d0b1c4b6cf7727"
+DOWNLOAD="https://sourceforge.net/projects/uncrustify/files/uncrustify/uncrustify-0.63/uncrustify-0.63.tar.gz"
+MD5SUM="791ffa57ac6a301d16463c1a97c77c0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""