From df49df44ad4c6ab9fbd5ce56ac0006927dcbcb30 Mon Sep 17 00:00:00 2001 From: Heiko Rosemann Date: Tue, 12 May 2015 16:25:19 +0700 Subject: office/xtrkcad: Updated for version 4.2.0. Signed-off-by: Willy Sudiarto Raharjo --- office/xtrkcad/xtrkcad.SlackBuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'office/xtrkcad/xtrkcad.SlackBuild') diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild index d97b9a3832514..aef15a67b2014 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 -- cgit v1.2.3