summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bwidget/PKGBUILD2
-rwxr-xr-xcheckVersions14
2 files changed, 10 insertions, 6 deletions
diff --git a/bwidget/PKGBUILD b/bwidget/PKGBUILD
index 2385e576..c5773fa4 100644
--- a/bwidget/PKGBUILD
+++ b/bwidget/PKGBUILD
@@ -10,7 +10,7 @@ arch=('any')
url="https://wiki.tcl.tk/2251"
license=('GPL')
depends=('bash' 'tcl')
-source=("http://downloads.sourceforge.net/project/tcllib/BWidget/$pkgver/bwidget-$pkgver.tar.gz")
+source=("http://downloads.sourceforge.net/project/tcllib/files/BWidget/$pkgver/bwidget-$pkgver.tar.gz")
sha256sums=('2f682da93e07ff8cadd6c0580e7d4de3c8828134eab662dbe3d0e6ffc9443263')
package() {
diff --git a/checkVersions b/checkVersions
index 9ca21d91..51a4e280 100755
--- a/checkVersions
+++ b/checkVersions
@@ -560,11 +560,14 @@ then
then
quVer=$( \
echo "${src}" | \
- sed 's|/sourceforge/|/|' | \
- sed 's|\(//sourceforge\.net/.*/\)[^/]*/[^/]*$|\1|' | \
- sed "s|//\(pr\)\?downloads\.sourceforge\.net/\([^/]*\)/[^/]*\$|//sourceforge.net/projects/\2/files/\2/|" | \
- sed 's|/scidavis/$|/SciDAVis/|' | \
- sed 's|^http:|https:|'
+ sed '
+ s|/sourceforge/|/|
+ s|\(//sourceforge\.net/.*/\)[^/]*/[^/]*$|\1|
+ s|//\(pr\)\?downloads\.sourceforge\.net/\([^/]*\)/[^/]*$|//sourceforge.net/projects/\2/files/\2/|
+ s|//\(pr\)\?downloads\.sourceforge\.net/project/\([^/]*\)/files/\([^/]*\)/\([0-9.]\+/\)\?[^/]*$|//sourceforge.net/projects/\2/files/\3/|
+ s|/scidavis/$|/SciDAVis/|
+ s|^http:|https:|
+ '
)
remVer=$( \
curl_it "${quVer}" | \
@@ -660,6 +663,7 @@ then
'www\.iozone\.org' \
'www\.vandenoever\.info' \
'www\.wurzel\.org' \
+ 'www.xcrysden.org' \
| sed 's@\\|$@\n@'
)"
then