[aur-general] PKGBUILD - custom DLAGENT - failed to create symbolic link

Christoph Gysin christoph.gysin at gmail.com
Mon Sep 26 09:59:15 UTC 2016


On Mon, Sep 26, 2016 at 12:25 PM, respiranto <arch023 at 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
-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org at fr33z3


More information about the aur-general mailing list