summaryrefslogtreecommitdiff
path: root/office/xtrkcad/xtrkcad.SlackBuild
diff options
context:
space:
mode:
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