[arch-general] [arch-dev-public] [PATCH] Do not refer to $startdir/{src, pkg} in PKGBUILDs

d at falconindy.com d at falconindy.com
Tue Jun 8 20:33:48 EDT 2010


On Tue, Jun 08, 2010 at 07:58:55PM -0430, Andres P wrote:
> 2010/6/8 Allan McRae <allan at archlinux.org>:
> > It is very rare that you should ever need to use $startdir in a PKGBUILD at
> > all.
> 
> I exclude config.h from dwm's PKGBUILD $source array and copy it from
> $startdir during build().
> 
> It's changed constantly so keeping it summed check is awkward, and I
> don't want to loose the sumcheck for the rest of sources.
> 
> Maybe $sources should have a per entry ! or @ prefix that disables sum
> checks for that file.
> 
> This could be extended to make one of the " !@" chars skip extraction,
> since duplicating the filenames in $noextract is less practical.
> 
> Andres P

Rebuilding as 'makepkg -efi' means that checksums are skipped since
you're asking makepkg to use what's already extracted in $srcdir

d


More information about the arch-general mailing list