summaryrefslogtreecommitdiff
path: root/office/xtrkcad/xtrkcad.SlackBuild
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/xtrkcad.SlackBuild
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/xtrkcad.SlackBuild')
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild10
1 files changed, 5 insertions, 5 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