Last active
December 26, 2025 12:46
-
-
Save kassane/79bb85bfd2add96b9c9ff4f0cabb67ef to your computer and use it in GitHub Desktop.
AUR package from Qidi-Studio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Matheus França <matheus-catarino@hotmail.com> | |
| pkgname=qidistudio-appimage | |
| _pkgname=QIDIStudio | |
| pkgver=2.04.00.70 | |
| pkgrel=1 | |
| pkgdesc="PC Software for QIDI 3D printers (based on Bambu Studio fork)" | |
| arch=('x86_64') | |
| url="https://github.com/QIDITECH/QIDIStudio" | |
| license=('AGPL-3.0') | |
| options=('!strip' '!debug') | |
| provides=('qidistudio') | |
| conflicts=('qidistudio' 'qidistudio-git' 'qidistudio-bin') | |
| source=("${_pkgname}-${pkgver}.AppImage::https://github.com/QIDITECH/QIDIStudio/releases/download/v${pkgver}/QIDIStudio_0${pkgver}_Ubuntu24.AppImage") | |
| sha256sums=('ae9378e3a0b414291758b0cef57fb0c108db4a480ca0745c3242c383a66312d0') | |
| package() { | |
| cd "$srcdir" | |
| chmod +x "${_pkgname}-${pkgver}.AppImage" | |
| install -Dm755 "${_pkgname}-${pkgver}.AppImage" "$pkgdir/usr/bin/qidistudio" | |
| ./"${_pkgname}-${pkgver}.AppImage" --appimage-extract &>/dev/null | |
| if [ -f "squashfs-root/QIDIStudio.png" ]; then | |
| install -Dm644 "squashfs-root/QIDIStudio.png" "$pkgdir/usr/share/pixmaps/QIDIStudio.png" | |
| else | |
| msg2 "Warning: Could not automatically find an icon file (QIDIStudio.png) within the AppImage." | |
| msg2 " Desktop entry icon might be missing." | |
| fi | |
| if [ -f "squashfs-root/QIDIStudio.desktop" ]; then | |
| sed -i 's|Exec=AppRun|Exec=/usr/bin/qidistudio|' "squashfs-root/QIDIStudio.desktop" | |
| install -Dm644 "squashfs-root/QIDIStudio.desktop" "$pkgdir/usr/share/applications/QIDIStudio.desktop" | |
| else | |
| msg2 "Fail: Could not automatically find desktop file (QIDIStudio.desktop) within the AppImage." | |
| exit 1 | |
| fi | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment