mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
development/astyle: Updated for version 3.0
This commit is contained in:
parent
06e2669091
commit
3fe841ca8e
3 changed files with 15 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue