Skip to content

Provide variables defined by makepkg

Chih-Hsuan Yen requested to merge yan12125/namcap:fix-unbound-variable into master

Some PKGBUILDs insist that all variables must be defined. For example,

$ wget "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=linux-lts414"
$ namcap PKGBUILD
(some other information...)
PKGBUILD: line 341: pkgdir: unbound variable
(some other information...)

Make them happy by adding missing variables.

Merge request reports