




















"The previous PKGBUILD failed to correctly select the architecture and AppImage filename, leading to build errors. Fixed the extraction logic and path handling to ensure a successful build.
Updated PKGBUILD here: https://hastebin.com/share/ecapoqiruw.bash
Missing Dep: JQ Won't compile without it.
In this case, pkgver and prepare can end up with different artifacts.
pkgver is executed after prepare, so I'll make the latter preserving the JSON output of the downloaded artifact. As well, the asset object contains the digest field, so I'll use it in the verify function.
Thanks for the research. Your new structure represents the canonical PKGBUILD better.
Hello, I asked an AI how to make this package dynamically fetch the latest available nightly release on every build, since right now the static source array locks it to a specific version until you manually update the AUR repository.
It suggested moving the curl/jq logic inside prepare() and leaving the source/sha512sums arrays empty. This way, the package acts as a proper pseudo-VCS package and fetches the real latest nightly AppImage whenever a user runs makepkg.
Here is the solution it generated for the source, sha512sums, and prepare sections:
What do you think about this approach?
Sorry for letting this package rot. I'm not using it anymore and don't have much time to maintain it. I'm happy to hand it off to a new maintainer, otherwise it will probably be a bit before I can get these fixes addressed.
Getting a build failure
sed: can't read squashfs-root/OrcaSlicer.desktop: No such file or directory
Maybe the file structure of the AppImage changed?
Dependencies are redundant, especially webkit2gtk (4.0) which takes a lot of time to build, please fix this issue
Dear uberben, please, fix the package:
diff --git a/PKGBUILD b/PKGBUILD
index 9ab651d..73bd2c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -50,7 +50,7 @@ package() {
install -d "$pkgdir/opt/${pkgname%-bin}/"
cp -av squashfs-root/* "$pkgdir/opt/${pkgname%-bin}/"
rm -rf "$pkgdir/opt/${pkgname%-bin}/usr/"
- rm "$pkgdir/opt/${pkgname%-bin}"/{OrcaSlicer.desktop,AppRun,OrcaSlicer.png,OrcaSlicer-x86_64.AppImage}
+ rm "$pkgdir/opt/${pkgname%-bin}"/{OrcaSlicer.desktop,AppRun,OrcaSlicer.png}
install -d "$pkgdir/usr/bin"
ln -s "/opt/${pkgname%-bin}/bin/orca-slicer" "$pkgdir/usr/bin/"
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
I don't like it. The new set of assets allows us to make the package multiarch, so I'll go in this direction.
Besides, you "simplified" it to the ground, removing the proper versioning and hashsums validation.