summaryrefslogtreecommitdiff
path: root/graphics/Blender/Blender.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2020-01-03 00:59:32 -0600
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 02:06:13 -0600
commitd9f435aba617384c923ce438fe7bc148c1d38834 (patch)
tree44ba52bb03bd6c6a5f7518191de415c5c102ecb4 /graphics/Blender/Blender.SlackBuild
parent7ede525d5b67161b584001570c8fcea7774894ce (diff)
downloadslackbuilds-d9f435aba617384c923ce438fe7bc148c1d38834.tar.gz
graphics/Blender: Fixed PRGNAM in build script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/Blender/Blender.SlackBuild')
-rw-r--r--graphics/Blender/Blender.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index 43bdb549e7..d4bbe1fa95 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -22,12 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=blender
-PKGNAM=Blender
+PRGNAM=Blender
VERSION=${VERSION:-2.81a}
-BASE_VERSION=${BASE_VERSION:-$( echo $VERSION | sed -e 's/[^0-9.]*//g')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
+SRCNAM=blender
+
+BASE_VERSION=${BASE_VERSION:-$( echo $VERSION | sed -e 's/[^0-9.]*//g')}
PYTHON_VERSION=$(python3 -c "import sys; print(sys.version[:3])")
if [ -z "$ARCH" ]; then
@@ -136,14 +138,14 @@ mkdir -p $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PKGNAM-$VERSION/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share/doc
-cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}