summaryrefslogtreecommitdiff
path: root/office/xtrkcad
diff options
context:
space:
mode:
authorHeiko Rosemann <heiko.rosemann@web.de>2015-05-12 16:25:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-12 16:25:19 +0700
commitdf49df44ad4c6ab9fbd5ce56ac0006927dcbcb30 (patch)
treeb5ba538f61558ba7161b4d1cdf586abb5ba68c4d /office/xtrkcad
parent939ae1a9e6024bfbe62acaaab52be1a4342dc9d8 (diff)
downloadslackbuilds-df49df44ad4c6ab9fbd5ce56ac0006927dcbcb30.tar.gz
office/xtrkcad: Updated for version 4.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/xtrkcad')
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild10
-rw-r--r--office/xtrkcad/xtrkcad.info6
2 files changed, 8 insertions, 8 deletions
diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index d97b9a3832..aef15a67b2 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xtrkcad
-VERSION=${VERSION:-4.2.0_beta1}
+VERSION=${VERSION:-4.2.0}
SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,13 +62,13 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
tar xvf $CWD/$PRGNAM-source-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
+cd $PRGNAM-source-$SRCVERSION
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 \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -81,7 +81,7 @@ cd build
-DXTRKCAD_USE_GTK=ON \
-DXTRKCAD_USE_GTK_CAIRO=ON \
-DXTRKCAD_USE_LAYOUTCONTROL=OFF ..
- make
+ make
make install DESTDIR=$PKG
cd ..
@@ -95,7 +95,7 @@ mkdir -p $PKG/usr/share/pixmaps
install -m644 app/lib/icon.png $PKG/usr/share/pixmaps/xtrkcad.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-for i in COPYING Readme.txt $PRGNAM.bug $PRGNAM.enh $PRGNAM.fix $PRGNAM.tip
+for i in COPYING Readme.txt $PRGNAM.tip
do mv $PKG/usr/share/$PRGNAM/$i $PKG/usr/doc/$PRGNAM-$VERSION
done
mv $PKG/usr/share/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/office/xtrkcad/xtrkcad.info b/office/xtrkcad/xtrkcad.info
index 01194bc789..9fa3d143ec 100644
--- a/office/xtrkcad/xtrkcad.info
+++ b/office/xtrkcad/xtrkcad.info
@@ -1,8 +1,8 @@
PRGNAM="xtrkcad"
-VERSION="4.2.0_beta1"
+VERSION="4.2.0"
HOMEPAGE="http://sourceforge.net/projects/xtrkcad-fork"
-DOWNLOAD="http://downloads.sourceforge.net/project/xtrkcad-fork/XTrackCad/Version%204.2.0-beta1/xtrkcad-source-4.2.0-beta1.tar.gz"
-MD5SUM="a421fa5f39a09ad57bedc7f51bad1d0d"
+DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/xtrkcad-source-4.2.0.tar.gz"
+MD5SUM="79b8128dcae723e00e002db49f5faf85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkitgtk"