Treat source control management programs like they are download agents. Specify what %o and %u mean so that users can meaningfully modify how they want different SCMs to behave. --- etc/makepkg.conf.in | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index f0d1c44..6636e17 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -8,11 +8,18 @@ # #-- The download utilities that makepkg should use to acquire sources # Format: 'protocol::agent' +# Variables: %u = url, %o = filename DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u' 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u' 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' 'rsync::/usr/bin/rsync -z %u %o' - 'scp::/usr/bin/scp -C %u %o') + 'scp::/usr/bin/scp -C %u %o' + 'darcs::/usr/bin/darcs get --partial --set-scripts-executablei %u' + 'cvs::/usr/bin/cvs -z3 %u co -D $pkgver -f %o' + 'git::/usr/bin/git clone %u %o' + 'svn::/usr/bin/svn co %u --config-dir ./ -r $pkgver %o' + 'bzr::' + 'hg::/usr/bin/hg clone %u %o') # Other common tools: # /usr/bin/snarf -- 1.7.3.1