[pacman-dev] [PATCH v5 1/4] libmakepkg: move checkdepends to the correct array
morganamilo
morganamilo at gmail.com
Mon Jan 21 23:59:29 UTC 2019
Signed-off-by: morganamilo <morganamilo at gmail.com>
---
scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 9 ++++-----
1 file 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
--
2.20.1
More information about the pacman-dev
mailing list