summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/lint_pkgbuild
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2019-01-22 00:59:29 +0100
committerAllan McRae <allan@archlinux.org>2019-01-22 02:06:11 +0100
commit5bd54fa0c672d89fedc7995025cf8ea4b5e5e96b (patch)
tree53c44cc45afe7467b7569fdc7407b06af09fc53b /scripts/libmakepkg/lint_pkgbuild
parent1e040153bcace3f67a2db1b17195f0225fbd2f5e (diff)
downloadpacman-5bd54fa0c672d89fedc7995025cf8ea4b5e5e96b.tar.gz
pacman-5bd54fa0c672d89fedc7995025cf8ea4b5e5e96b.tar.xz
libmakepkg: move checkdepends to the correct array
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild')
-rw-r--r--scripts/libmakepkg/lint_pkgbuild/variable.sh.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
index d19c95bc..a975b024 100644
--- a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
+++ b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
@@ -31,11 +31,10 @@ lint_pkgbuild_functions+=('lint_variable')
lint_variable() {
# TODO: refactor - similar arrays are used elsewhere
- local array=(arch backup checkdepends groups license noextract options
- validpgpkeys)
- local arch_array=(conflicts depends makedepends md5sums optdepends provides
- replaces sha1sums sha224sums sha256sums sha384sums sha512sums
- source)
+ local array=(arch backup groups license noextract options validpgpkeys)
+ local arch_array=(checkdepends conflicts depends makedepends md5sums
+ optdepends provides replaces sha1sums sha224sums
+ sha256sums sha384sums sha512sums source)
local string=(changelog epoch install pkgbase pkgdesc pkgrel pkgver url)
local i a pkg out bad ret=0