Please consider updating the PKGBUILD
to conform with the guidelines for packages for software using CMake: https://wiki.archlinux.org/title/CMake_package_guidelines#Template
In particular: This package fails to build on systems where CMake is configured to use something other than Unix Makefiles, for instance Ninja build files.
The build()
and package()
steps should be changed to use cmake --build build
and DESTDIR="$pkgdir" cmake --install build
, respectively (as illustrated by the template in the above link).
Pinned Comments
AlynxZhou commented on 2024-01-03 11:36 (UTC) (edited on 2024-01-03 11:37 (UTC) by AlynxZhou)
For people who are not familiar with AUR and
-git
package:-git
package does not have a fixed version tag, instead it will always checkout the latest master commit when you re-run the build command (for examplemakepkg -sif
). Considering the Ansel upstream is actively refactoring, you may need to re-run the build command to get the latest commit when you get some problem.PKGBUILD here only needs to be updated if there are changes of building steps, so the "Last Updated" doesn't mean the version of software you could build.
Don't bother upstream devs with words like "the AUR package ansel-git is last updated at 1 week/1 month ago please update it to latest commit" in GitHub issues or Matrix chatroom, I've explained that only thing you need to do is to re-build the package.
However, if you are really sure there are problems in the PKGBUILD, feel free to comment HERE, because upstream devs may not be a Arch user and they don't maintain this PKGBUILD. I'll try to fix it.