aboutsummaryrefslogtreecommitdiff
path: root/graphics/yafaray-blender/yafaray-blender.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-26 11:14:17 -0500
committerRobby Workman <rworkman@slackbuilds.org>2022-02-26 17:34:49 -0600
commitc5a76982ce4017c853f708ab35358b81e9b07576 (patch)
tree821db0752cd4fd79b8ee43819da401d026a28cc2 /graphics/yafaray-blender/yafaray-blender.SlackBuild
parent12851bde158d43f488337205bb7f8fd743482536 (diff)
graphics/yafaray-blender: Fix github filename.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/yafaray-blender/yafaray-blender.SlackBuild')
-rw-r--r--graphics/yafaray-blender/yafaray-blender.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/yafaray-blender/yafaray-blender.SlackBuild b/graphics/yafaray-blender/yafaray-blender.SlackBuild
index 31f303908cbc1..3748862fd164b 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}