There is an AUR package that errors when I update it, and it has been like that for a while so I wondered if I could fix it myself?

The Package is here https://aur.archlinux.org/packages/filebrowser-bin

You can see my comment explaining the error under the username “mub”.

  • SunRed
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    26 days ago

    Regarding your question, you can just clone the package’s git URL or download the PKGBUILD file directly, make your edit and run makepkg or makepkg -sirc as the wiki suggests to produce the package and install it.
    You can also install the package tar with pacman -U <file>.

    Relevant Arch wiki pages:
    https://wiki.archlinux.org/title/Arch_build_system
    https://wiki.archlinux.org/title/Arch_User_Repository

    But looking at the comments it seems you are using an AUR helper that has a cache you might want to clear as the git repo for that package has an unstaged change for the license file for some reason (or you reset that file so git doesn’t complain when pulling).

    Edit: I see you figured it out already.