[arch-commits] Commit in freecad/trunk (PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Tue Nov 23 15:08:01 UTC 2021


    Date: Tuesday, November 23, 2021 @ 15:08:00
  Author: arodseth
Revision: 1054469

upgpkg: freecad 0.19.2-7

Modified:
  freecad/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-23 14:58:05 UTC (rev 1054468)
+++ PKGBUILD	2021-11-23 15:08:00 UTC (rev 1054469)
@@ -11,7 +11,7 @@
 
 pkgname=freecad
 pkgver=0.19.2
-pkgrel=6
+pkgrel=7
 pkgdesc='General purpose 3D CAD modeler'
 arch=(x86_64)
 url='https://freecadweb.org/'
@@ -77,7 +77,9 @@
   # MIME info
   install -Dm644 freecad.xml "$pkgdir/usr/share/mime/packages/freecad.xml"
 
-  # Thumbnailer, see FS#71592
+  # Thumbnailer
+  install -Dm755 FreeCAD/src/Tools/freecad-thumbnailer \
+    "$pkgdir/usr/bin/freecad-thumbnailer"
   install -Dm644 \
     "$pkgdir/usr/lib/freecad/share/thumbnailers/FreeCAD.thumbnailer" \
     "$pkgdir/usr/share/thumbnailers/FreeCAD.thumbnailer"
@@ -85,12 +87,12 @@
 
   # Icons
   cd FreeCAD/src/Gui/Icons
+  install -Dm644 freecad.svg \
+    "$pkgdir/usr/share/icons/hicolor/scalable/apps/freecad.svg"
   for i in 16 32 48 64; do
     install -Dm644 "freecad-icon-$i.png" \
       "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/freecad.png"
   done
-  install -Dm644 freecad.svg \
-    "$pkgdir/usr/share/icons/hicolor/scalable/apps/freecad.svg"
 
   # Symlinks in /usr/bin
   install -d "$pkgdir/usr/bin"
@@ -98,6 +100,4 @@
   ln -sf /usr/lib/freecad/bin/FreeCAD "$pkgdir/usr/bin/FreeCAD"
   ln -sf /usr/lib/freecad/bin/FreeCADCmd "$pkgdir/usr/bin/freecadcmd"
   ln -sf /usr/lib/freecad/bin/FreeCADCmd "$pkgdir/usr/bin/FreeCADCmd"
-  ln -sf /usr/lib/freecad/bin/freecad-thumbnailer \
-    "$pkgdir/usr/bin/freecad-thumbnailer"
 }



More information about the arch-commits mailing list