Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#35023 - makepkg: set $srcdir before sources download
Attached to Project:
Pacman
Opened by ilya (leniviy) - Monday, 29 April 2013, 07:27 GMT
Last edited by Allan McRae (Allan) - Monday, 14 October 2013, 05:49 GMT
Opened by ilya (leniviy) - Monday, 29 April 2013, 07:27 GMT
Last edited by Allan McRae (Allan) - Monday, 14 October 2013, 05:49 GMT
|
DetailsDescription:
Please see: https://aur.archlinux.org/packages/asfbin-bin/ To download the sources from the author's site, the http referer field should be the download page, or 404 returned. This is why I added these lines: source=('wgetrc' "http://www.radioactivepages.com/downloading.ashx?file=asfbin/asfbinlinux${pkgver}.zip") makedepends=(wget) export WGETRC="$srcdir/wgetrc" DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u') Of course, I could just download it myself in build(), but then I would have to unzip it and also take no advantage of $SRCDEST In recent makepkg (4.1?) the variable $srcdir is set later than it downloads the sources. Could you please set it earlier and make it documented? |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 14 October 2013, 05:49 GMT
Reason for closing: Won't implement
Monday, 14 October 2013, 05:49 GMT
Reason for closing: Won't implement
DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 --referer http://www.radioactivepages.com/asfbin.aspx -o %o %u')
I do not see the need to add this to makepkg.