[arch-general] Referencing $srcdir in PKGBUILD?
allan at archlinux.org
Tue Aug 17 05:15:34 EDT 2010
On 17/08/10 19:05, Magnus Therning wrote:
> 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?
grep your files in your package for $srcdir (the actual value...). If
it is not in a config file or RPATH or the like, you can probably ignore it.
More information about the arch-general