summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-25 15:31:42 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:47 +0700
commitd9a4048ca6d03a45d0bca9b0356a80b385320cfa (patch)
tree6bdcf93554e4e93be0590723db0ca2923cd9efc7 /graphics
parent6fe651a70515d6763b57f5674b7efa73c2f978ac (diff)
downloadslackbuilds-d9a4048ca6d03a45d0bca9b0356a80b385320cfa.tar.gz
graphics/openscad-mcad: Fix github filename mess.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/openscad-mcad/openscad-mcad.SlackBuild15
-rw-r--r--graphics/openscad-mcad/openscad-mcad.info2
2 files changed, 8 insertions, 9 deletions
diff --git a/graphics/openscad-mcad/openscad-mcad.SlackBuild b/graphics/openscad-mcad/openscad-mcad.SlackBuild
index 4072e1c4bc..b02c3bb321 100644
--- a/graphics/openscad-mcad/openscad-mcad.SlackBuild
+++ b/graphics/openscad-mcad/openscad-mcad.SlackBuild
@@ -32,9 +32,6 @@ TAG=${TAG:-_SBo}
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
@@ -46,19 +43,21 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
+SRCNAM=MCAD
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf MCAD-$COMVER
-tar xvf $CWD/$PRGNAM-$COMVER.tar.?z
-cd MCAD-$COMVER
+rm -rf $SRCNAM-$COMVER
+tar xvf $CWD/$SRCNAM-$COMVER.tar.gz
+cd $SRCNAM-$COMVER
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 \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
mkdir -p $PKG/usr/share/openscad/libraries/MCAD/bitmap
diff --git a/graphics/openscad-mcad/openscad-mcad.info b/graphics/openscad-mcad/openscad-mcad.info
index 748d96be6c..3f0a91efa3 100644
--- a/graphics/openscad-mcad/openscad-mcad.info
+++ b/graphics/openscad-mcad/openscad-mcad.info
@@ -1,7 +1,7 @@
PRGNAM="openscad-mcad"
VERSION="2020.10.09.1ea4022"
HOMEPAGE="https://github.com/openscad/MCAD"
-DOWNLOAD="https://github.com/openscad/MCAD/archive/1ea402208c3127ffb443931e9bb1681c191dacca/openscad-mcad-1ea402208c3127ffb443931e9bb1681c191dacca.tar.gz"
+DOWNLOAD="https://github.com/openscad/MCAD/archive/1ea402208c3127ffb443931e9bb1681c191dacca/MCAD-1ea402208c3127ffb443931e9bb1681c191dacca.tar.gz"
MD5SUM="a86572e744abff686ee146274eda87f4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""