summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author[BOT] Gilbert Gilb's2024-03-26 11:46:04 +0000
committer[BOT] Gilbert Gilb's2024-03-26 11:46:04 +0000
commit288969dbd70952c0d77cad370e3bb083154025bf (patch)
treec785b6350c3e402f449a576a55d9c091482e5796
parentcb7b31c2ecb1a8f1b107d78b6bec536fbe5aed21 (diff)
downloadaur-288969dbd70952c0d77cad370e3bb083154025bf.tar.gz
Update freecad-assembly3-appimage to 2024.03.22-2.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7306716fcec0..c4dbf00d94ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = freecad-assembly3-appimage
pkgdesc = Assembly3 workbench for FreeCAD.
pkgver = 2024.03.22
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/realthunder/FreeCAD
arch = x86_64
license = LGPLv2
depends = fuse2
noextract = FreeCAD-asm3-2024.03.22.AppImage
options = !strip
+ options = !debug
source = FreeCAD-asm3-2024.03.22.AppImage::https://github.com/realthunder/FreeCAD/releases/download/20240322stable/FreeCAD-Link-Stable-Linux-x86_64-py3.11-20240322.AppImage
source = https://raw.githubusercontent.com/realthunder/FreeCAD/20240322stable/LICENSE
source = freecad_link.desktop.patch
diff --git a/PKGBUILD b/PKGBUILD
index cc931743de9c..722178309ec2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,20 @@
pkgname=freecad-assembly3-appimage
pkgver=2024.03.22
-pkgrel=1
+pkgrel=2
pkgdesc="Assembly3 workbench for FreeCAD."
arch=('x86_64')
url="https://github.com/realthunder/FreeCAD"
license=('LGPLv2')
depends=('fuse2')
-options=(!strip) # necessary otherwise the AppImage file in the package is truncated
+# prevent AppImage from being truncated
+options=(
+ '!strip'
+ '!debug'
+)
_filename="FreeCAD-asm3-${pkgver}.AppImage"
_squashfs_desktop_file="org.freecadweb.FreeCAD.Link.desktop"
-_desktop_file="/usr/share/applications/freecad-asm3-appimage.desktop"
_appimage_name="FreeCAD-asm3.AppImage"
_install_path="/opt/appimages/${_appimage_name}"
@@ -41,10 +44,10 @@ prepare() {
patch -Np0 < ./freecad_link.desktop.patch
# Rename icons
- find "squashfs-root/usr/share/icons" -type f -not -name 'freecad_link.*' -delete
+ find "squashfs-root/usr/share/icons" -type f -not -name 'org.freecadweb.FreeCAD.Link.*' -delete
find "squashfs-root/usr/share/icons" -type d -empty -delete
- find "squashfs-root/usr/share/icons" -type f -name "freecad_link.svg" -execdir mv {} "${pkgname}.svg" \;
- find "squashfs-root/usr/share/icons" -type f -name "freecad_link.png" -execdir mv {} "${pkgname}.png" \;
+ find "squashfs-root/usr/share/icons" -type f -name "org.freecadweb.FreeCAD.Link.svg" -execdir mv {} "${pkgname}.svg" \;
+ find "squashfs-root/usr/share/icons" -type f -name "org.freecadweb.FreeCAD.Link.png" -execdir mv {} "${pkgname}.png" \;
}
package() {