void-packages/srcpkgs/giac/update

2 lines
153 B
Text
Raw Normal View History

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