makepkg: allow using GIT source URLs
commit91d119af1c97c7f2d78bbd98c73c737bf6f7247d
authorAllan McRae <allan@archlinux.org>
Mon, 4 Jun 2012 00:37:35 +0000 (4 10:37 +1000)
committerAllan McRae <allan@archlinux.org>
Fri, 3 Aug 2012 14:16:38 +0000 (4 00:16 +1000)
tree5d3a290a3423217faa41ab2cdad86a01dbd6e341
parent57e06394dd19191f36880aa8d1d4522a458922ca
makepkg: allow using GIT source URLs

Allow specifing GIT sources using the following syntax

source=('<folder>::<repo>#<fragment>')

This will download the git repo <repo> into <folder> (into $SRCDIR
if set, otherwise $startdir). <repo> must start with "git", but
non-git protocols are handled using (e.g.) "git+http://...".

The <fragment> can be used to specify a branch, tag, or commit to
build from. e.g. branch=maint.

Checksum entries for git sources should be "SKIP".

Signed-off-by: Allan McRae <allan@archlinux.org>
scripts/makepkg.sh.in