diff options
-rw-r--r-- | office/xtrkcad/xtrkcad.SlackBuild | 10 | ||||
-rw-r--r-- | office/xtrkcad/xtrkcad.info | 6 |
2 files changed, 8 insertions, 8 deletions
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 diff --git a/office/xtrkcad/xtrkcad.info b/office/xtrkcad/xtrkcad.info index 01194bc789df1..9fa3d143eca1e 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" |