On 2016-09-26 11:59, Christoph Gysin via aur-general wrote: > On Mon, Sep 26, 2016 at 12:25 PM, respiranto <arch...@respiranto.de> wrote: >> DLAGENTS+=('_svn::/usr/bin/bash -c _u="%u";\ _u="${_u#_svn://}";\ >> _d="${_u%/*}";\ _f="${_u##*/}";\ /usr/bin/svn\ checkout\ "https://${_d}"\ >> "${_f}"\ --depth\ empty;\ cd\ "${_f}";\ svn\ up\ "${_f}"') > > Why write your own DLAGENT for this? > > It seems that the svn VCS client only supports specifying directories, > not individual files. But you can fetch individual files over https > directly from github. > > Something like: > > source=(svn+https://github.com/freedict/fd-dictionaries/trunk/tools > > https://raw.githubusercontent.com/freedict/fd-dictionaries/master/Makefile) > > Chris >
Thanks! This works perfectly well. I should probably have searched the web for direct file downloads from github.com first. Though I am still confused about why my approach didn't work. Einhard