summaryrefslogtreecommitdiffstats
path: root/development/astyle/astyle.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/astyle/astyle.SlackBuild')
-rw-r--r--development/astyle/astyle.SlackBuild11
1 files changed, 9 insertions, 2 deletions
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