about summary refs log tree commit diff
path: root/xlint
diff options
context:
space:
mode:
authorToyam Cox <Vaelatern@voidlinux.eu>2018-02-14 15:13:21 -0500
committerToyam Cox <Vaelatern@voidlinux.eu>2018-02-14 15:13:52 -0500
commit0f8f50c0c79fd0234e34d1bccac23a4b7c08341f (patch)
tree7d959040b6c9319f8101f3c216a809fd2294636f /xlint
parent799ffa0c59000c7cf095bb9b8fc2df99693cb7d6 (diff)
downloadxtools-0f8f50c0c79fd0234e34d1bccac23a4b7c08341f.tar.gz
xtools-0f8f50c0c79fd0234e34d1bccac23a4b7c08341f.tar.xz
xtools-0f8f50c0c79fd0234e34d1bccac23a4b7c08341f.zip
xlint: warn on git archives with .zip
Diffstat (limited to 'xlint')
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index ab87270..d7ec713 100755
--- a/xlint
+++ b/xlint
@@ -167,6 +167,7 @@ for template; do
 		"custom variables should use _ prefix: \2"
 	scan '^[^ =]*=(""|''|)$' "variable set to empty string: \2"
 	scan '^(.*)-docs_package().*' 'use <pkgname>-doc subpackage for documentation'
+	scan 'distfiles=.*github.com.*/archive/.*\.zip[\"]?$' 'Use the distfile .tar.gz instead of .zip'
 	scan 'distfiles=.*downloads\.sourceforge\.net' 'use $SOURCEFORGE_SITE'
 	scan 'distfiles=.*savannah.nongnu\.org' 'use $NONGNU_SITE'
 	scan 'distfiles=.*archive\.ubuntu\.com' 'use $UBUNTU_SITE'