Commit 052bc871 authored by Leo's avatar Leo

apkbuild-lint: extend pkgver_has_pkgrel to deal correctly with stuff

parent 87452f8c
......@@ -180,7 +180,7 @@ pkgname_has_uppercase() {
pkgver_has_pkgrel() {
[ "$SKIP_PKGVER_HAS_PKGREL" ] && return 0
scan '^pkgver=[A-Za-z0-9_-]*-r[0-9]' 'pkgver must not have -rN'
scan '^pkgver=[A-Za-z0-9_\-\.]*[-_]r' 'pkgver must not have -r or _r'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment