void-packages/srcpkgs/gputils/update
2018-12-17 19:31:45 +01:00

2 lines
173 B
Text

pattern='(?<!-)\b\Q'"$pkgname"'\E[-_]?((src|source)[-_])?\K([^/_\s]*?\d[^/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'
ignore="20??????-*"