You are not logged in.

#1 2014-05-17 01:29:31

antony
Member
Registered: 2011-07-14
Posts: 43

rsync in PKGBUILD sources

I am trying to write a PKGBUILD for which the sources are not available as a single tarball/zip/etc., but can be downloaded (e.g.) using rsync -avz.  While an URI of rsync:// in the sources array is understood, it does not trigger archive (-a) mode, which is necessary to recursively download all the files.
I guess I could just download everything in prepare() and compare the checksums manually, but perhaps there is a better way to cover this case in PKGBUILDs?
Any help would be appreciated, thanks.

Offline

#2 2014-05-17 02:44:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: rsync in PKGBUILD sources

Is there no git/svn/hg source for this?  What is the project?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-05-17 05:49:26

antony
Member
Registered: 2011-07-14
Posts: 43

Re: rsync in PKGBUILD sources

f2c, here: http://netlib.org/f2c/src/ (and no, libf2c.zip doesn't contain the same files).
The current AUR PKGBUILD reuses an old zip from some personal project and I'm trying to improve that.

Offline

#4 2014-05-17 06:47:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,570

Re: rsync in PKGBUILD sources

You could always ask to add -a to the default rsync command. I don't know why it's not part of the default already.

Offline

#5 2014-05-17 10:08:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: rsync in PKGBUILD sources

AFAIK you could set DLAGENT in your PKGBUILD and it would take precedence over the makepkg.conf settings. This is not documented, nor have I tried it out myself - it's just a possible workaround while you wait for the response to the feature request recommended by Scimmia.

Offline

Board footer

Powered by FluxBB