diff options
-rwxr-xr-x | xnuxnu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xnuxnu b/xnuxnu index 26ba397..9b7ab13 100755 --- a/xnuxnu +++ b/xnuxnu @@ -14,7 +14,7 @@ void_version=$(./xbps-src show "$1" | sed -n '/version/s/[^:]*:[\t]*//p') sed -n '/distfiles:/{s/[^:]*:[\t]*//;s|/[^/]*$|/|p}; /Upstream URL/s/[^:]*:[\t]*//p' | while read url; do - rx="\b$pkgname[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|t[bglx]z|tbz2|zip))\b" + rx="\b$pkgname[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b" case "$url" in *sourceforge.net/sourceforge*) url="http://sourceforge.net/projects/$pkgname/rss?limit=200";; |