summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/libmakepkg/lint_config/variable.sh.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/libmakepkg/lint_config/variable.sh.in b/scripts/libmakepkg/lint_config/variable.sh.in
index 55ed6d6d..b0b731dd 100644
--- a/scripts/libmakepkg/lint_config/variable.sh.in
+++ b/scripts/libmakepkg/lint_config/variable.sh.in
@@ -60,5 +60,11 @@ lint_config_variables() {
fi
done
+ # pacman should be able to extract an email address from PACKAGER for WKD key lookup
+ local match='^([^<>]+ )?<[^<>]*>$'
+ if ! [[ $PACKAGER =~ $match ]]; then
+ warning "$(gettext "PACKAGER should have the format 'Example Name <email@address.invalid>'")"
+ fi
+
return $ret
}