diff options
-rw-r--r-- | graphics/leocad/README | 2 | ||||
-rw-r--r-- | graphics/leocad/doinst.sh | 9 | ||||
-rw-r--r-- | graphics/leocad/leocad.SlackBuild | 11 | ||||
-rw-r--r-- | graphics/leocad/leocad.desktop | 10 | ||||
-rw-r--r-- | graphics/leocad/leocad.info | 6 | ||||
-rw-r--r-- | graphics/leocad/leocad.png | bin | 329 -> 0 bytes | |||
-rw-r--r-- | graphics/leocad/slack-desc | 2 |
7 files changed, 17 insertions, 23 deletions
diff --git a/graphics/leocad/README b/graphics/leocad/README index c99f6b618f6ab..9c53ba72b0349 100644 --- a/graphics/leocad/README +++ b/graphics/leocad/README @@ -1,3 +1,3 @@ LeoCAD is a CAD program that uses bricks similar to those found in many toys (but they don't represent any particular brand). -Currently it uses a library of more than 3000 different pieces. +Currently it uses a library of more than 7000 different pieces. diff --git a/graphics/leocad/doinst.sh b/graphics/leocad/doinst.sh index 4e8ba7071dea7..9424ce43ff572 100644 --- a/graphics/leocad/doinst.sh +++ b/graphics/leocad/doinst.sh @@ -2,3 +2,12 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild index 74b895f3967e0..d6fde0be94e4c 100644 --- a/graphics/leocad/leocad.SlackBuild +++ b/graphics/leocad/leocad.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for LeoCAD: # 3D design program for bricks -# Copyright 2009-2012 Niels Horn, Rio de Janeiro, Brazil +# Copyright 2009-2013 Niels Horn, Rio de Janeiro, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# revision date 2012/08/10 +# revision date 2013/03/24 PRGNAM=leocad -VERSION=${VERSION:-0.77.0} +VERSION=${VERSION:-0.79.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,11 +81,6 @@ mv $PKG/usr/share/man $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -# Copy icon & desktop file to package -mkdir -p $PKG/usr/share/{applications,pixmaps} -cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop -cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ CREDITS.txt README.txt docs/COPYING.txt docs/INSTALL.txt \ diff --git a/graphics/leocad/leocad.desktop b/graphics/leocad/leocad.desktop deleted file mode 100644 index fd8ffbc739fb0..0000000000000 --- a/graphics/leocad/leocad.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=leocad -Comment=LeoCAD 3D Design program -Categories=Graphics; -Exec=/usr/bin/leocad -Icon=leocad -Terminal=false -StartupNotify=false diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info index bbeb04b4b1fb5..af5feb553abef 100644 --- a/graphics/leocad/leocad.info +++ b/graphics/leocad/leocad.info @@ -1,8 +1,8 @@ PRGNAM="leocad" -VERSION="0.77.0" +VERSION="0.79.3" HOMEPAGE="http://www.leocad.org/" -DOWNLOAD="http://leocad.googlecode.com/files/leocad-0.77.0-src.tgz" -MD5SUM="007fba24d1ecd72f177af107cb3fa946" +DOWNLOAD="http://leocad.googlecode.com/files/leocad-0.79.3-src.tgz" +MD5SUM="edea92ce268b761c9da46742e78c106d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="leocad_pieces" diff --git a/graphics/leocad/leocad.png b/graphics/leocad/leocad.png Binary files differdeleted file mode 100644 index 2a766c616aaaf..0000000000000 --- a/graphics/leocad/leocad.png +++ /dev/null diff --git a/graphics/leocad/slack-desc b/graphics/leocad/slack-desc index 653d501b94beb..eeb9768ec197e 100644 --- a/graphics/leocad/slack-desc +++ b/graphics/leocad/slack-desc @@ -10,7 +10,7 @@ leocad: leocad (CAD program for toy bricks) leocad: leocad: LeoCAD is a CAD program that uses bricks similar to those leocad: found in many toys (but they don't represent any particular brand). -leocad: Currently it uses a library of more than 1000 different pieces. +leocad: Currently it uses a library of more than 7000 different pieces. leocad: leocad: http://www.leocad.org/ leocad: |