diff options
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 |
commit | aed9f2b92c296cef5ccbca71057ba45b9ec679c8 (patch) | |
tree | ef8241389a2970ded0eb136a08b2199d12f37704 /development/astyle/astyle.SlackBuild | |
parent | 9a1464ae876c06e4bca5dd768663f409f1d01c85 (diff) |
development/astyle: Updated for version 3.0
Diffstat (limited to 'development/astyle/astyle.SlackBuild')
-rw-r--r-- | development/astyle/astyle.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/development/astyle/astyle.SlackBuild b/development/astyle/astyle.SlackBuild index 2411307b759be..0a027c46ed4e2 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 |