summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-13 10:06:30 +0100
committerErich Eckner <git@eckner.net>2018-03-13 10:06:30 +0100
commit8adba84814009a80c3aab501d70f8f5c8288352d (patch)
tree22b3873c8791ce14f40080d3cf7394b1a95a8244 /checkVersions
parent03a52a9b4a5d7c9fc12366227c9da6c832662b50 (diff)
downloadarchlinuxewe-8adba84814009a80c3aab501d70f8f5c8288352d.tar.xz
checkVersions: get to know hashcash and tea
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions13
1 files changed, 13 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions
index 712bdf230..5c53d99d0 100755
--- a/checkVersions
+++ b/checkVersions
@@ -575,6 +575,7 @@ then
'dl\.suckless\.org' \
'download\.osgeo\.org' \
'ftp\.daper\.net' \
+ 'www\.hashcash\.org' \
'isl\.gforge\.inria\.fr' \
'pkgbuild\.com' \
'qgis\.org' \
@@ -713,6 +714,18 @@ then
sort -n | \
tail -n1
)"
+ elif echo "${src}" | \
+ grep -q '://semiletov\.org/[^/]*/dloads/'
+ then
+ remVer=$(
+ curl_it "${source%%/dloads/*}/" | \
+ tr '"' '\n' | \
+ sed -n '
+ s,^\(http://.*/\|dloads/\|\)'"${pkgname}"'-\([0-9.]\+\)\.tar\.bz2$,\2,
+ T
+ p
+ '
+ )
else
continue
fi