Package Details: curlmirror 20150310-3

Git Clone URL: https://aur.archlinux.org/curlmirror.git (read-only, click to copy)
Package Base: curlmirror
Description: Mirrors a web site by using curl to download each page
Upstream URL: https://github.com/cudeso/tools/blob/master/curlmirror.txt
Keywords: curl mirror
Licenses: GPL2
Submitter: None
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 7
Popularity: 0.000000
First Submitted: 2008-08-03 22:04 (UTC)
Last Updated: 2016-09-09 16:41 (UTC)

Latest Comments

sekret commented on 2016-09-09 19:07 (UTC)

Ah perfect, works now :) And thanks for the explanation!

TrialnError commented on 2016-09-09 16:42 (UTC)

Building the package worked with -3 using the devtools

TrialnError commented on 2016-09-09 16:25 (UTC)

The problem is due, that in $srcdir is only a symlink to the source file (Causes also another issue, if building the package and not deleting the file, checksum will now fail, because of the changed file) I will still let it reside in prepare, but pipe the output of dos2unix into a new file

sekret commented on 2016-09-09 16:16 (UTC)

Ok crap, this PKGBUILD doesn't build, when built in a clean chroot. Here's the output. ==> Starting prepare()... dos2unix: problems renaming './d2utmp8prUne' to '/srcdest/curlmirror.txt': Invalid cross-device link which is the target of symbolic link 'curlmirror.txt' output file remains in './d2utmp8prUne' dos2unix: dos2unix: problems converting file curlmirror.txt ==> ERROR: A failure occurred in prepare(). Aborting... I'm not sure what happens here... HOWEVER it works if you put dos2unix in the package function. package() { install -m755 -D "${pkgname}.txt" "$pkgdir/usr/bin/${pkgname}" dos2unix "$pkgdir/usr/bin/${pkgname}" }

TrialnError commented on 2016-09-08 19:44 (UTC)

Thanks for the intel, sekret. I'm checking if this can be avoided by tampering with the download url. But it looks like I will use your proposal. tl/dr; Fix for this will be pushed shortly

sekret commented on 2016-09-08 16:09 (UTC)

When I first tried to launch this, I got $ curlmirror bash: /usr/bin/curlmirror: /usr/bin/perl^M: bad interpreter: No such file or directory I had to run dos2unix /usr/bin/curlmirror Now it works! Please fix this, maybe it's really required to run this dos2unix command in a prepare() function. Then you'd have of course to add dos2unix to the makedepends array.