summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornewHeiko <35038740+newHeiko@users.noreply.github.com>2022-02-04 22:46:09 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-05 08:48:55 +0700
commit8d1df38af68937a2ebd36943daf3dbc98e55f9b7 (patch)
tree9f03a978ced0d7532934559531a3bb784a8a9c6f
parent0e08a164373170ee62cc84672f79597a5969f013 (diff)
downloadslackbuilds-8d1df38af68937a2ebd36943daf3dbc98e55f9b7.tar.gz
desktop/xtrkcad: Updated for version 5.2.2GA.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild12
-rw-r--r--office/xtrkcad/xtrkcad.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index fa1b7cb4d0..33804d3c70 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xtrkcad
-# Copyright 2013-2017 Heiko Rosemann Germany
+# Copyright 2013-2022 Heiko Rosemann Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xtrkcad
-VERSION=${VERSION:-20211202}
-SRCVERSION=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-5.2.2GA}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,6 +49,7 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SRCNAM=${PRGNAM}-source-$VERSION
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -70,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-source-$SRCVERSION
-tar xvf $CWD/$PRGNAM-source-$SRCVERSION.tar.?z
-cd $PRGNAM-source-$SRCVERSION
+rm -rf $SRCNAM
+tar xvzf $CWD/$SRCNAM.tar.gz
+cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/office/xtrkcad/xtrkcad.info b/office/xtrkcad/xtrkcad.info
index f22c033701..24b3c50293 100644
--- a/office/xtrkcad/xtrkcad.info
+++ b/office/xtrkcad/xtrkcad.info
@@ -1,8 +1,8 @@
PRGNAM="xtrkcad"
-VERSION="20211202"
+VERSION="5.2.2GA"
HOMEPAGE="http://www.xtrkcad.org"
-DOWNLOAD="https://ponce.cc/slackware/sources/repo/xtrkcad-source-20211202.tar.xz"
-MD5SUM="c259ea4be62e1052460a16a500af7898"
+DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%205.2.2/xtrkcad-source-5.2.2GA.tar.gz"
+MD5SUM="a91da56b9e509eab1ceab0b8fee92b2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""