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

Andres P aepd87 at gmail.com
Tue Jun 8 20:28:55 EDT 2010


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


More information about the arch-general mailing list