summaryrefslogtreecommitdiffstats
path: root/development/astyle
diff options
context:
space:
mode:
Diffstat (limited to 'development/astyle')
-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 89f3686397..1bac5991ae 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 2411307b75..0a027c46ed 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 ffd17f5b6d..d77ff442b4 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=""