diff options
author | philipvdh <philip@vd-hoeven.nl> | 2022-02-24 23:10:45 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-26 09:25:54 +0700 |
commit | 775eeae493251052e213c1d59a779f2b736ed121 (patch) | |
tree | 136e2a9e1e2033f821ad47931ad460e8b32f2d51 /graphics/LDView | |
parent | 1c078db385c6f77c92d4bda42120fde82705b887 (diff) |
graphics/LDView: Updated for version 4.4.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/LDView')
-rw-r--r-- | graphics/LDView/LDView.SlackBuild | 14 | ||||
-rw-r--r-- | graphics/LDView/LDView.info | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/graphics/LDView/LDView.SlackBuild b/graphics/LDView/LDView.SlackBuild index e6bf6f117b18..d6e8aa39e694 100644 --- a/graphics/LDView/LDView.SlackBuild +++ b/graphics/LDView/LDView.SlackBuild @@ -4,7 +4,7 @@ # a program to visualize LDraw files # Copyright 2009-2010, 2012-2013 Niels Horn, Rio de Janeiro, Brazil -# Copyright 2015-2016 Philip van der Hoeven, Almere, The Netherlands +# Copyright 2015-2022 Philip van der Hoeven, Almere, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,11 +27,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=LDView -VERSION=${VERSION:-4.2} +VERSION=${VERSION:-4.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCVER=$(echo $VERSION|tr . _) SRCNAM=$(echo $PRGNAM|tr '[A-Z]' '[a-z]') if [ -z "$ARCH" ]; then @@ -73,9 +72,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCVER -tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz || tar xvf $CWD/v$SRCVER.tar.gz -cd $SRCNAM-$SRCVER +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -128,7 +127,7 @@ cp QT/ldview_cz.qm $PKG/usr/share/$SRCNAM/ldview_cz.qm cp LDExporter/LGEO.xml $PKG/usr/share/$SRCNAM/LGEO.xml # Icon, desktop and mime stuff -mkdir -p $PKG/usr/share/{applications,application-registry,mime/packages,mime-info} +mkdir -p $PKG/usr/share/{applications,application-registry,mime/packages,mime-info,pixmaps} mkdir -p $PKG/usr/share/icons/gnome/32x32/mimetypes cat QT/desktop/ldview.desktop > $PKG/usr/share/applications/ldview.desktop cat QT/desktop/ldraw.xml > $PKG/usr/share/mime/packages/ldraw.xml @@ -137,6 +136,7 @@ cp QT/desktop/ldraw.mime $PKG/usr/share/mime-info/ldraw.mime cp QT/desktop/ldview.applications $PKG/usr/share/application-registry/ldview.applications cp QT/images/LDViewIcon.png $PKG/usr/share/icons/gnome/32x32/mimetypes/gnome-mime-application-x-ldraw.png cp QT/images/LDViewIcon.png $PKG/usr/share/icons/gnome/32x32/mimetypes/gnome-mime-application-x-multipart-ldraw.png +cp QT/images/LDViewIcon128.png $PKG/usr/share/pixmaps/gnome-ldraw.png # Documentation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html diff --git a/graphics/LDView/LDView.info b/graphics/LDView/LDView.info index 44391645a773..5931c6f38d9f 100644 --- a/graphics/LDView/LDView.info +++ b/graphics/LDView/LDView.info @@ -1,8 +1,8 @@ PRGNAM="LDView" -VERSION="4.2" -HOMEPAGE="http://ldview.sourceforge.net" -DOWNLOAD="https://github.com/tcobbs/ldview/archive/v4_2.tar.gz" -MD5SUM="abfae342f45c405d192e35c88536b164" +VERSION="4.4.1" +HOMEPAGE="https://tcobbs.github.io/ldview/" +DOWNLOAD="https://github.com/tcobbs/ldview/archive/v4.4.1/ldview-4.4.1.tar.gz" +MD5SUM="6abecfafccd8db441f2e120e7e9913db" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="LDraw_data tinyxml" |