Skip to content

Aura not copying install scripts to build directory #983

@emekoi

Description

@emekoi

The package notion-app-electron has a install script named .install, however the build directory is missing this file even though it is in the cloned Git repo which causes the build to fail almost instantly:

~ 
❯ ls -a ~/.cache/aura/builds/notion-app-electron/
./  ../  notion-app*  notion.desktop  notion.png  PKGBUILD

~ 
❯ ls -a ~/.cache/aura/packages/notion-app-electron/
./  ../  .git/  .gitignore  .install  notion-app*  notion.desktop  notion.png  PKGBUILD  .SRCINFO

I believe the issue is in build::all_install_files. It uses PathBuf::extension and from the docs, that returns None if the file starts with a leading . and has no other .s. There probably needs to be some other custom logic for detecting install files or we could hardcode the check for files named .install. notion-app-electron isn't the only package I've had issue installing because of this, but it is the most recent one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    won't build!A certain package isn't building, but should.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions