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 | |
parent | 9f89fe88371fedb1bc342228d904b0a1268a4a6e (diff) | |
download | slackbuilds-6b5b2964983f26ff07d64e6179b5ac6989056abe.tar.gz |
graphics/gnofract4d: Update .info and script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r-- | graphics/gnofract4d/gnofract4d.SlackBuild | 16 | ||||
-rw-r--r-- | graphics/gnofract4d/gnofract4d.info | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild index 2d4cfc983a..3aafbe65a9 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 diff --git a/graphics/gnofract4d/gnofract4d.info b/graphics/gnofract4d/gnofract4d.info index 6c4791cdaf..cc25c5bd7d 100644 --- a/graphics/gnofract4d/gnofract4d.info +++ b/graphics/gnofract4d/gnofract4d.info @@ -1,8 +1,8 @@ PRGNAM="gnofract4d" VERSION="3.14.1" -HOMEPAGE="http://gnofract4d.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/gnofract4d/files/gnofract4d/3.14.1/gnofract4d-3.14.1.tar.bz2" -MD5SUM="db12eabcf5bece42c037fb9937f9b0af" +HOMEPAGE="https://github.com/edyoung/gnofract4d" +DOWNLOAD="https://github.com/edyoung/gnofract4d/archive/V_3_14_1.tar.gz" +MD5SUM="0872b6acefa9123205e099c9e174a791" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |