diff options
-rw-r--r-- | graphics/yafaray-blender/yafaray-blender.SlackBuild | 16 | ||||
-rw-r--r-- | graphics/yafaray-blender/yafaray-blender.info | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/graphics/yafaray-blender/yafaray-blender.SlackBuild b/graphics/yafaray-blender/yafaray-blender.SlackBuild index 31f303908c..3748862fd1 100644 --- a/graphics/yafaray-blender/yafaray-blender.SlackBuild +++ b/graphics/yafaray-blender/yafaray-blender.SlackBuild @@ -28,6 +28,8 @@ # # 1 - Initial release. +# 20220222 bkw: Modified by SlackBuilds.org: fix github filename. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yafaray-blender @@ -38,9 +40,6 @@ PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -51,21 +50,22 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} BLENDER_PLUGIN_DIR="/opt/blender/scripts/addons" +SRCNAM="Blender-Exporter" set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf Blender-Exporter-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd Blender-Exporter-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ cd .. mkdir -p ${PKG}${BLENDER_PLUGIN_DIR} diff --git a/graphics/yafaray-blender/yafaray-blender.info b/graphics/yafaray-blender/yafaray-blender.info index 9756fb5c1a..1f2f6f52e9 100644 --- a/graphics/yafaray-blender/yafaray-blender.info +++ b/graphics/yafaray-blender/yafaray-blender.info @@ -1,7 +1,7 @@ PRGNAM="yafaray-blender" VERSION="3.2.0" HOMEPAGE="http://www.yafaray.org" -DOWNLOAD="https://github.com/YafaRay/Blender-Exporter/archive/v3.2.0/yafaray-blender-3.2.0.tar.gz" +DOWNLOAD="https://github.com/YafaRay/Blender-Exporter/archive/v3.2.0/Blender-Exporter-3.2.0.tar.gz" MD5SUM="1660eb796fb204f07691dd0571f4bceb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |