summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-09-06 16:46:34 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-09-06 16:46:34 +0200
commitb43464890f97e468f0b5267fd96c16d5ed648905 (patch)
tree2e3930f5f6311e084901ef52e3d28afb903f2af6
parentfc3a7b17ee15ffe5815f305ffe625602a1a28951 (diff)
downloadxtools-b43464890f97e468f0b5267fd96c16d5ed648905.tar.gz
xtools-b43464890f97e468f0b5267fd96c16d5ed648905.tar.xz
xtools-b43464890f97e468f0b5267fd96c16d5ed648905.zip
xnuxnu: allow go1.3.1.tar.gz
-rwxr-xr-xxnuxnu2
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";;