Closed ghost closed 7 years ago
@bts368 Method 1 has been implemented in apacman v2.0 (aa86d596eaf85fb993f7d7a5e4b6570c5fc2fd0f)
@oshazard Imho, you should still consider the last option for a later version. Making the helper behave exactly as the manual process avoids a lot of little bugs and side effects here and there. That's how it is implemented in pacaur.
Deprecated by makepkg
(resolved in #61)
Hey! Came across an interesting behaviour...
If one downloads a split PKGBUILD tarball (e.g. I maintain https://aur.archlinux.org/pkgbase/nquake/ which builds.. 6? packages, i think) and runs makepkg against the PKGBUILD manually, it uses the same sources for all split packages (as well it should, since that's what split packages are designed for).
However, if one builds with apacman, the sources get re-downloaded with each sub-package. additionally, the sub-packages don't get saved to /var/cache/apacman/pkg/ (though i'm not sure if that's expected behavior or not).
for example:
manually:
apacman (in the $TMPDIR/pkgbuild-$UID? dir):
maybe either:
https://aur.archlinux.org/pkgbase/<pkgname>/
redirects tohttps://aur.archlinux.org/packages/<pkgname>/
so you wouldn't need to modify much in terms of methodmakepkg --pkg <sub-package>
supports this)overall, i'd suggest the last option as it offers the greatest flexibility and would add better support for split packages overall, would GREATLY speed up building of split packages (nvidia beta drivers, anyone?), and would be a good mix of effort vs. payoff, i think.