diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-09-20 06:02:14 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-26 10:05:33 +0700 |
commit | 6b5b2964983f26ff07d64e6179b5ac6989056abe (patch) | |
tree | a3ee374a99339c783f6876695ebf7d5124740796 /graphics/gnofract4d/gnofract4d.SlackBuild | |
parent | 9f89fe88371fedb1bc342228d904b0a1268a4a6e (diff) |
graphics/gnofract4d: Update .info and script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'graphics/gnofract4d/gnofract4d.SlackBuild')
-rw-r--r-- | graphics/gnofract4d/gnofract4d.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild index 2d4cfc983ab8d..3aafbe65a9cbb 100644 --- a/graphics/gnofract4d/gnofract4d.SlackBuild +++ b/graphics/gnofract4d/gnofract4d.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gnofract4d -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gnofract4d -VERSION=${VERSION:-3.14.1} -BUILD=${BUILD:-1} +SRCVER=${SRCVER:-V_3_14_1} +VERSION=$(echo $SRCVER | tr _ . | cut -c3-8) +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,8 +82,7 @@ find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; rm -rf $PKG/usr/share/doc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING PKG-INFO README doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README Todo $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |