development/astyle: Updated for version 3.0

This commit is contained in:
Nate Bargmann 2017-04-06 15:46:16 -05:00 committed by Willy Sudiarto Raharjo
parent 06e2669091
commit 3fe841ca8e
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 15 additions and 5 deletions

View file

@ -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.

View file

@ -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

View file

@ -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=""