summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/lint_pkgbuild/meson.build
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2019-01-31 03:04:56 +0100
committerAllan McRae <allan@archlinux.org>2019-01-31 06:03:25 +0100
commit14755df06f4727f261a8174502754acd7243ab75 (patch)
treece86c7823c26959c55ccb1f826e8ce3b1bb58b4e /scripts/libmakepkg/lint_pkgbuild/meson.build
parent75aae126c423dcc9b215aef57daff9e7bd8f5f6b (diff)
downloadpacman-14755df06f4727f261a8174502754acd7243ab75.tar.gz
pacman-14755df06f4727f261a8174502754acd7243ab75.tar.xz
libmakepkg: lint disallowed variables in package()
makepkg will now error if disallowed variables are set inside of the package function. Disallowed variables are variables that do exist, like 'makedepends' and 'pkgver' but can not be set inside of a package function. Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/meson.build')
-rw-r--r--scripts/libmakepkg/lint_pkgbuild/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/libmakepkg/lint_pkgbuild/meson.build b/scripts/libmakepkg/lint_pkgbuild/meson.build
index 4ca414e4..f699a8e2 100644
--- a/scripts/libmakepkg/lint_pkgbuild/meson.build
+++ b/scripts/libmakepkg/lint_pkgbuild/meson.build
@@ -14,6 +14,7 @@ sources = [
'optdepends.sh.in',
'options.sh.in',
'package_function.sh.in',
+ 'package_function_variable.sh.in',
'pkgbase.sh.in',
'pkglist.sh.in',
'pkgname.sh.in',