What is namcap you ask? Namcap is a package analyzer. Too many times have developers missed dependencies, forgotten to check for invalid path names, or had symlinks pointing to the wrong place. Namcap was written to automatically check for simple mistakes in package files.
Basic usage of namcap is 'namcap <package>'. This runs all of namcap's rules on the package file. Use 'namcap -h' to list the usage. A man page hasn't yet been written, but I'm working on it.
Namcap version 0.9 was recently released. This release has added better gnome menu item checking, added perllocal.pod checking, and moved the build system over to distutils.
Namcap can be installed from the unofficial repository: pacman -S namcap