You are not logged in.
I'm creating a PKGBUILD for a Tauri application. The PKGBUILD is the following:
pkgname=aegis-gui-tauri
pkgver=86.283cb70
pkgrel=1
pkgdesc="Tauri-based GUI front-end for Aegis."
arch=('x86_64' 'aarch64')
url="https://github.com/mwaurawakati/aegis-gui-tauri"
license=('GPL3')
depends=('gtk3' 'libappindicator-gtk3' 'libsoup' 'webkit2gtk')
makedepends=('cargo-tauri' 'pnpm' 'yarn' 'git')
source=("git+https://github.com/mwaurawakati/$pkgname.git")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd $pkgname
export NO_STRIP=true
yarn install
NO_STRIP=true
unset SOURCE_DATE_EPOCH
cargo tauri build
}
package() {
cd $pkgname
install -Dm 755 "src-tauri/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
When I run "makepkg -src", after Rust compilation, I get the following error:
...
Finished release [optimized] target(s) in 8m 08s
Bundling aegis-gui-tauri_0.0.0_amd64.deb (/build/packages/os-specific/aegis-gui-tauri/src/aegis-gui-tauri/src-tauri/target/release/bundle/deb/aegis-gui-tauri_0.0.0_amd64.deb)
Bundling aegis-gui-tauri_0.0.0_amd64.AppImage (/build/packages/os-specific/aegis-gui-tauri/src/aegis-gui-tauri/src-tauri/target/release/bundle/appimage/aegis-gui-tauri_0.0.0_amd64.AppImage)
Error failed to bundle project: error running appimage.sh
==> ERROR: A failure occurred in build().
Aborting...
How in PKGBUILD can I manage "Error failed to bundle project: error running appimage.sh" error? What am I missing?
Last edited by D3vil0p3r (2024-04-27 15:22:07)
Offline
I also tried to replace "cargo tauri build" by "NO_STRIP=true cargo tauri build" or using "options=('!strip' '!debug')" but I get the same error.
Last edited by D3vil0p3r (2024-04-28 13:30:06)
Offline