[arch-general] Referencing $srcdir in PKGBUILD?

Magnus Therning magnus at therning.org
Tue Aug 17 05:05:46 EDT 2010

Lately my PKGBUILDs result in a warning when building:

==> WARNING: Package contains reference to $srcdir

It's a bit confusing, since PKGBUILD(5) has the following to say about $srcdir:

           This points to the directory where makepkg extracts or
copies all source files.

What should I do to get rid of the warning?


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

More information about the arch-general mailing list