You are not logged in.
I want to package a software project that uses configure options to switch between different dependencies.
I could use different PKGBUILD files to create different packages.
I could use a split package PKGBUILD file to build multiple packages at the same time for different requirements.
I could use environment variables in the PKGBUILD file to control the build process.
What is the Arch Linux way to do this?
Offline
Try a split package. e.g. https://github.com/archlinux/svntogit-c … k/PKGBUILD
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
All of those 3 methods are possible / in use,have specific advantages and drawbacks .
Assessing which is best fit can only be done per individual case, your description needs to include a lot more detail.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline