<div>Now you cannot randomly rename PKGBUILD files and use them with namcap.</div><div> </div><div>I have filed a bug here: https://bugs.archlinux.org/task/57193</div><div>I created a patch for my needs:</div><div> </div><div>diff --git a/namcap.py b/namcap.py</div><div>index b62a2fa..aae20c7 100755</div><div>--- a/namcap.py</div><div>+++ b/namcap.py</div><div>@@ -248,7 +248,7 @@ for package in packages:</div><div> </div><div>         if os.path.isfile(package) and tarfile.is_tarfile(package):</div><div>                 process_realpackage(package, active_modules)</div><div>- elif package.endswith('PKGBUILD'):</div><div>+ elif package.startswith('PKGBUILD'):</div><div>                 process_pkgbuild(package, active_modules)</div><div>         else:</div><div>                 print("Error: Cannot process %s" % package)</div><div> </div><div>But I think it is better to just assume than all non-tar files are pkgbuilds and should be processed accordingly.</div>