summaryrefslogtreecommitdiff
path: root/office/xtrkcad/xtrkcad.SlackBuild
diff options
context:
space:
mode:
authorHeiko Rosemann <heiko.rosemann@web.de>2017-07-20 07:22:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 06:56:14 +0700
commit281201fdb7c88d5bea733b12ce390b081d7c77a4 (patch)
treea00d3bb3a95aecc8c503aeae63568fe8ac08318c /office/xtrkcad/xtrkcad.SlackBuild
parentf7c68d660a9395e259d1fb80bd0c6855649221b6 (diff)
downloadslackbuilds-281201fdb7c88d5bea733b12ce390b081d7c77a4.tar.gz
office/xtrkcad: Updated for version 4.3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/xtrkcad/xtrkcad.SlackBuild')
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index 98ceeee9b9..a4573cef5f 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xtrkcad
-# Copyright 2013-2015 Heiko Rosemann Germany
+# Copyright 2013-2017 Heiko Rosemann Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xtrkcad
-VERSION=${VERSION:-4.2.4a}
+VERSION=${VERSION:-4.3.0}
SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,9 +78,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DXTRKCAD_USE_GETTEXT=ON \
- -DXTRKCAD_USE_GTK=ON \
- -DXTRKCAD_USE_GTK_CAIRO=ON \
- -DXTRKCAD_USE_LAYOUTCONTROL=OFF ..
+ -DXTRKCAD_USE_GTK=ON ..
make
make install DESTDIR=$PKG
cd ..
@@ -92,7 +90,7 @@ mkdir -p $PKG/usr/share/applications
install -m644 app/lib/xtrkcad.desktop $PKG/usr/share/applications/xtrkcad.desktop
mkdir -p $PKG/usr/share/pixmaps
-install -m644 app/lib/icon.png $PKG/usr/share/pixmaps/xtrkcad.png
+install -m644 app/lib/icon.svg $PKG/usr/share/pixmaps/xtrkcad.svg
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
for i in COPYING Readme.txt $PRGNAM.tip