[aur-dev] [PATCH] git-update: Check for missing install and source files
lfleischer at archlinux.org
Sun May 31 20:49:19 UTC 2015
On Sun, 31 May 2015 at 22:09:19, Marcel Korpel wrote:
> * Daniel Wallace <danielwallace at gtmanfred.com> (Sun, 31 May 2015
> 14:33:38 -0500):
> > The names usually end in 'hib' instead of humble bundle, standing for
> > Humble Indie Bundle, but there are several other things out there
> > that are similar to this.
> Ah, now I understand. But those packages contain filenames with '://'
> in it, so I think this patch will just let those PKGBUILDs go through
> without those files being present, am I right?
> Nevertheless, there are other cases I didn't think of, like
> https://aur.archlinux.org/packages/ttf-ms-win8/ where source files
> should be provided by the user. Providing zero-length dummy files looks
> like a solution, but isn't, as the checksums provided should be correct
> against those user-provided files, not the dummy ones.
> I can't think of a solution to this at the moment, perhaps someone else?
Why are checksums an issue? You can use the checksum of the correct
file. It doesn't match the checksum of the dummy file but I don't see
how that is an issue (it is even good since the user immediately notices
that something is wrong with the dummy file). Another possibility is to
tell makepkg to skip the integrity check.
> And *if* we go for solution 2, it should indeed be well-documented.
> Best, Marcel
More information about the aur-dev