[pacman-dev] [RFC] [PATCH 0/4] makepkg: VCS package overhaul

Allan McRae allan at archlinux.org
Sun Jun 3 11:40:45 EDT 2012

This is my first attempt at overhauling the really crap VCS PKGBUILD
support in makepkg.  So far only git is implemented.

This is for initial comments.  There is still much to tidy up (apart from
reinstating all the other VCS...), but using git works.  E.g. to make a
package for pacman-git from the maint branch:


Currently you need to use --skipinteg, as integrity checking is broken.
So is generating the integrity checks.

Also, I would like ideas on how to stop the git repo being updated.  This is
a common request for having VCS PKGBUILDs work offline (assumably after an
initial checkout...).   Should I add a new flag, or just not error out when
updating the repo fails?

Allan McRae (4):
  makepkg: remove VCS package support
  makepkg: reorder source handling functions
  makepkg: generalize download_sources
  makepkg: allow using GIT source URLs

 scripts/makepkg.sh.in |  467 ++++++++++++++++++++++++-------------------------
 1 file changed, 230 insertions(+), 237 deletions(-)


More information about the pacman-dev mailing list