summaryrefslogtreecommitdiffstats
path: root/development/uncrustify/uncrustify.SlackBuild
diff options
context:
space:
mode:
author Zhu Qun-Ying2017-05-24 03:30:25 +0200
committer Willy Sudiarto Raharjo2017-05-27 02:30:49 +0200
commitcd95809cbd32eed084ebbaed14fd6a88b12308c9 (patch)
tree827431972790db9c9ca240b5b614290d5fc1c1b2 /development/uncrustify/uncrustify.SlackBuild
parenteddde5cdfcc63dfde4a045be9b391c07cdfdfbdb (diff)
downloadslackbuilds-cd95809cbd32eed084ebbaed14fd6a88b12308c9.tar.gz
development/uncrustify: Added (source code beautifier).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/uncrustify/uncrustify.SlackBuild')
-rw-r--r--development/uncrustify/uncrustify.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/development/uncrustify/uncrustify.SlackBuild b/development/uncrustify/uncrustify.SlackBuild
index 31f1b4767e..3d1fca9db3 100644
--- a/development/uncrustify/uncrustify.SlackBuild
+++ b/development/uncrustify/uncrustify.SlackBuild
@@ -5,7 +5,7 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=uncrustify
-VERSION=${VERSION:-0.64}
+VERSION=${VERSION:-0.65}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,7 +38,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -66,8 +66,7 @@ rmdir $PKG/usr/share
gzip -9 $PKG/usr/man/man1/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog documentation \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog documentation $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install