aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorNate Bargmann <n0nb@n0nb.us>2017-04-06 15:46:16 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-08 08:21:07 +0700
commitaed9f2b92c296cef5ccbca71057ba45b9ec679c8 (patch)
treeef8241389a2970ded0eb136a08b2199d12f37704 /development
parent9a1464ae876c06e4bca5dd768663f409f1d01c85 (diff)
development/astyle: Updated for version 3.0
Diffstat (limited to 'development')
-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 89f368639725..1bac5991aee5 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 2411307b759b..0a027c46ed4e 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 ffd17f5b6d01..d77ff442b48f 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=""