diff --git a/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild index e09f994074..a97d52ee13 100644 --- a/graphics/gnofract4d/gnofract4d.SlackBuild +++ b/graphics/gnofract4d/gnofract4d.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gnofract4d -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,13 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gnofract4d -VERSION=${VERSION:-3.14.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCVER=V_$(echo $VERSION | tr . _) - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -71,9 +69,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz -cd $PRGNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,7 +79,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -93,7 +91,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 README Todo $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md LICENSE 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 cc25c5bd7d..6473db9a08 100644 --- a/graphics/gnofract4d/gnofract4d.info +++ b/graphics/gnofract4d/gnofract4d.info @@ -1,10 +1,10 @@ PRGNAM="gnofract4d" -VERSION="3.14.1" -HOMEPAGE="https://github.com/edyoung/gnofract4d" -DOWNLOAD="https://github.com/edyoung/gnofract4d/archive/V_3_14_1.tar.gz" -MD5SUM="0872b6acefa9123205e099c9e174a791" +VERSION="4.3" +HOMEPAGE="https://github.com/fract4d/gnofract4d" +DOWNLOAD="https://github.com/fract4d/gnofract4d/archive/v4.3/gnofract4d-4.3.tar.gz" +MD5SUM="d815353c682eab9787e2fdad26f625ba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/graphics/gnofract4d/slack-desc b/graphics/gnofract4d/slack-desc index e9f75b2218..4ac59d24b1 100644 --- a/graphics/gnofract4d/slack-desc +++ b/graphics/gnofract4d/slack-desc @@ -12,7 +12,7 @@ gnofract4d: Gnofract 4D is a program which allows you to create varied fractal gnofract4d: images such as the Mandelbrot set and many more. It provides a gnofract4d: compiler so you can create your own formulas. gnofract4d: -gnofract4d: Homepage: http://gnofract4d.sourceforge.net/ +gnofract4d: Homepage: https://github.com/fract4d/gnofract4d gnofract4d: gnofract4d: gnofract4d: