summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Nate Bargmann <n0nb@n0nb.us>2017-04-06 15:46:16 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-08 08:21:07 +0700
commit3fe841ca8e68a9f41c3040fa636199e84a0666e5 (patch)
treebfc3b1797255e9145a03de92e191e5b94eb4408e
parent06e26690914a00a3788a049c251fc590c5b1d340 (diff)
downloadslackbuilds-3fe841ca8e68a9f41c3040fa636199e84a0666e5.tar.gz
slackbuilds-3fe841ca8e68a9f41c3040fa636199e84a0666e5.tar.xz
development/astyle: Updated for version 3.0
-rw-r--r--development/astyle/README3
-rw-r--r--development/astyle/astyle.SlackBuild11
-rw-r--r--development/astyle/astyle.info6
3 files changed, 15 insertions, 5 deletions
diff --git a/development/astyle/README b/development/astyle/README
index 89f36863972..1bac5991aee 100644
--- a/development/astyle/README
+++ b/development/astyle/README
@@ -3,3 +3,6 @@ astyle (Artistic Style code beautifier)
Artistic Style is a code indenter, beautifier and formatter for C, C++, C#,
and Java. It can be used from the command-line or linked into other programs.
Complete documentation is included.
+
+The optional shared library is not installed by the package. If it is needed
+for another project, please contact the maintainer.
diff --git a/development/astyle/astyle.SlackBuild b/development/astyle/astyle.SlackBuild
index 2411307b759..0a027c46ed4 100644
--- a/development/astyle/astyle.SlackBuild
+++ b/development/astyle/astyle.SlackBuild
@@ -33,7 +33,7 @@
# not, see <http://www.gnu.org/licenses/>.
PRGNAM=${PRGNAM:-astyle}
-VERSION=${VERSION:-2.06}
+VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -93,11 +93,18 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cd $TMP/$PRGNAM
-for file in *.txt
+for file in *.md
do
cat $file > $PKG/usr/doc/$PRGNAM-$VERSION/$file
done
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/file
+cd $TMP/$PRGNAM/file
+for file in *.ini
+do
+ fromdos < $file > $PKG/usr/doc/$PRGNAM-$VERSION/file/$file
+done
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/astyle/astyle.info b/development/astyle/astyle.info
index ffd17f5b6d0..d77ff442b48 100644
--- a/development/astyle/astyle.info
+++ b/development/astyle/astyle.info
@@ -1,8 +1,8 @@
PRGNAM="astyle"
-VERSION="2.06"
+VERSION="3.0"
HOMEPAGE="http://astyle.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/astyle/astyle_2.06_linux.tar.gz"
-MD5SUM="ff588e7fcede824591cf5b9085df109d"
+DOWNLOAD="http://downloads.sourceforge.net/astyle/astyle_3.0_linux.tar.gz"
+MD5SUM="c89f76229e6cf8c56df6b74aef9ed0bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""