summaryrefslogtreecommitdiff
path: root/python/CommonMark/CommonMark.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/CommonMark/CommonMark.SlackBuild')
-rw-r--r--python/CommonMark/CommonMark.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/python/CommonMark/CommonMark.SlackBuild b/python/CommonMark/CommonMark.SlackBuild
index b942b16067..ddd3a9f300 100644
--- a/python/CommonMark/CommonMark.SlackBuild
+++ b/python/CommonMark/CommonMark.SlackBuild
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220601 46and2: Updated version, fixes for new lowercase archive name.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=CommonMark
-VERSION=${VERSION:-0.7.4}
+SRCNAM=${PRGNAM,,}
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$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 \