diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/openscad-mcad/openscad-mcad.SlackBuild | 15 | ||||
-rw-r--r-- | graphics/openscad-mcad/openscad-mcad.info | 2 |
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="" |