diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-06 16:46:34 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-06 16:46:34 +0200 |
commit | b43464890f97e468f0b5267fd96c16d5ed648905 (patch) | |
tree | 2e3930f5f6311e084901ef52e3d28afb903f2af6 | |
parent | fc3a7b17ee15ffe5815f305ffe625602a1a28951 (diff) | |
download | xtools-b43464890f97e468f0b5267fd96c16d5ed648905.tar.gz xtools-b43464890f97e468f0b5267fd96c16d5ed648905.tar.xz xtools-b43464890f97e468f0b5267fd96c16d5ed648905.zip |
xnuxnu: allow go1.3.1.tar.gz
-rwxr-xr-x | xnuxnu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xnuxnu b/xnuxnu index 9654c94..5066441 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|t[bglx]z|tbz2|zip))\b" case "$url" in *sourceforge.net/sourceforge*) url="http://sourceforge.net/projects/$pkgname/rss?limit=200";; |