mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
desktop/xtrkcad: Updated for version 5.2.2GA.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0e08a16437
commit
8d1df38af6
2 changed files with 9 additions and 9 deletions
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue