You are not logged in.
When I use my PKGBUILD, I meet this problem. I can use ./raxmlGUI-2.0.3.AppImage --appimage-mount and ./raxmlGUI-2.0.3.AppImage --appimage-extract and the output is normal to easy to run. But when I try PKGBUILD and find ${pkgdir}/opt/raxmlgui/raxmlgui.AppImage with this problem. It's so strange, it should be same to the orginial file. Then I try to just move the orginial appimage file, I meet the same problem. The appimage download link is https://github.com/AntonelliLab/raxmlGU … 3.AppImage
The reported error
░▒▓ /opt/appimages ▓▒░ ./raxmlGUI.AppImage ░▒▓ ✔ 17:20:30 ▓▒░
This doesn't look like a squashfs image.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
and my PKGBUILD is
# Maintainer: Malacology <guoyizhang at malacology dot com>
# Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=raxmlgui
pkgver=2.0.3
pkgrel=1
pkgdesc="A new user-friendly program integrating RAxML-NG and ModelTest-NG for cutting-edge phylogenetic analysis"
arch=('x86_64')
url="https://antonellilab.github.io/raxmlGUI"
license=('AGPL3')
source=("https://github.com/AntonelliLab/raxmlGUI/releases/download/v2.0.3/raxmlGUI-2.0.3.AppImage")
sha256sums=('SKIP')
prepare() {
cd "${srcdir}"
chmod +x raxmlGUI-${pkgver}.AppImage
./raxmlGUI-${pkgver}.AppImage --appimage-extract
}
package() {
# Install AppImage
install -Dm755 ~/.cache/yay/raxmlgui/raxmlGUI-${pkgver}.AppImage "${pkgdir}/opt/${pkgname}/raxmlgui.AppImage"
# Symlink executable
mkdir -p "${pkgdir}/usr/bin"
ln -s "/opt/${pkgname}/raxmlgui.AppImage" "${pkgdir}/usr/bin/raxmlgui"
install -Dm644 ~/.cache/yay/raxmlgui/raxmlgui.desktop "${pkgdir}/usr/share/applications/raxmlGUI.desktop"
}
Last edited by malacology (2021-05-06 15:03:08)
Don't speak to silly man. Keep Minimalism.
Offline
The source for this is available[1] and downloadable as a tarball [2] .
It looks like it uses electron , https://wiki.archlinux.org/index.php/El … guidelines should be helpful .
Incase you do want to stick to the AppImage : makepkg should be able to extract that type of archive .
source=("https://github.com/AntonelliLab/raxmlGUI/releases/download/v2.0.3/raxmlGUI-2.0.3.AppImage")
sha256sums=('SKIP')
Please don't use skip for something that should be static.
[1]https://github.com/AntonelliLab/raxmlGUI/
[2] https://github.com/AntonelliLab/raxmlGUI/releases
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
AppImage self-extracting binaries cannot be stripped, since the actual payload is in the part that 'strip' thinks is useless and discards. You MUST use options+=('!strip')
On the other hand, why would you use an appimage rather than installing it correctly? The point of appimage is to not depend on a package manager...
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
AppImage self-extracting binaries cannot be stripped, since the actual payload is in the part that 'strip' thinks is useless and discards. You MUST use options+=('!strip')
On the other hand, why would you use an appimage rather than installing it correctly? The point of appimage is to not depend on a package manager...
Thanks, but there are still many appimage AUR
Don't speak to silly man. Keep Minimalism.
Offline
I try to build PKGBUILD without extract but still fail for the same reason
prepare() {
cd "${srcdir}"
chmod +x raxmlGUI-${pkgver}.AppImage
}
package() {
mkdir "${pkgdir}/opt"
mkdir "${pkgdir}/opt/appimages"
mkdir "${pkgdir}/usr"
mkdir "${pkgdir}/usr/share"
mkdir "${pkgdir}/usr/share/applications"
cd ${pkgdir}/opt/appimages
wget https://github.com/AntonelliLab/raxmlGUI/releases/download/v${pkgver}/raxmlGUI-${pkgver}.AppImage
install -Dm644 ~/.cache/yay/raxmlgui/raxmlgui.desktop "${pkgdir}/usr/share/applications/raxmlGUI.desktop"
}
Last edited by malacology (2021-05-05 07:26:48)
Don't speak to silly man. Keep Minimalism.
Offline
Nothing you just said makes any sense.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
As it has not been mentioned so far:
install -Dm644 ~/.cache/yay/raxmlgui/raxmlgui.desktop "${pkgdir}/usr/share/applications/raxmlGUI.desktop"
Do not install to or from ~. What it expands to if anything is undefined, what will be there and what access you have is also undefined.
Add additional files you need to the PKGBUILD.
Offline
Okay, thanks for everyone, but unfortunately, your help doesn't work, it's time to delete the AUR
Last edited by malacology (2021-05-06 03:32:31)
Don't speak to silly man. Keep Minimalism.
Offline
Okay, thanks for everyone, but unfortunately, your help doesn't work,
You completely ignored my first message, which would have worked fine to resolve the stated issue.
We are here to help, but help is a two-way street and requires you to engage with the help and learn from it. We are NOT here to drive to your house, turn on your computer, and fix + build your packages for you.
it's time to delete the AUR
No.
(Is this some sort of attempt at a bizarre joke?)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
malacology wrote:Okay, thanks for everyone, but unfortunately, your help doesn't work,
You completely ignored my first message, which would have worked fine to resolve the stated issue.
We are here to help, but help is a two-way street and requires you to engage with the help and learn from it. We are NOT here to drive to your house, turn on your computer, and fix + build your packages for you.
malacology wrote:it's time to delete the AUR
No.
(Is this some sort of attempt at a bizarre joke?)
Now I use the most stupid method to solve it. I use --appimage-extract and then move all files to
/usr/share/raxmlgui
, it works then.
Thanks for your push.
Don't speak to silly man. Keep Minimalism.
Offline