summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-26 13:55:46 +0200
committerErich Eckner <git@eckner.net>2018-04-26 13:55:46 +0200
commit4c5070a188af5738504f55e8fb70379211c12030 (patch)
treea4888009f8837594de63676bffbc1893f4b47c76 /checkVersions
parente3cdd443f2c3677bcb9966a71501a82fdd5bb7ff (diff)
downloadarchlinuxewe.git.save-4c5070a188af5738504f55e8fb70379211c12030.tar.xz
checkVersions: really recognize lilypond-devel and lilypond-devel-docs
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions18
1 files changed, 15 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index bc46534e..406e4383 100755
--- a/checkVersions
+++ b/checkVersions
@@ -567,6 +567,19 @@ then
tail -n1
)"
elif echo "${src}" | \
+ grep -q '^https\?://lilypond\.org/'
+ then
+ quVer="${src%/*}/"
+ remVer="$( \
+ curl_it "${quVer}" | \
+ tr '"<>' '\n\n\n' | \
+ grep "^lilypond-[0-9.]\+\(-[0-9]\+\.documentation\)\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \
+ sed "s@^lilypond-\([0-9.]\+\)\(-[0-9]\+\.documentation\)\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\1@" | \
+ tr '_' '.' | \
+ sort -V | \
+ tail -n1
+ )"
+ elif echo "${src}" | \
grep -q "$(
printf '^https\\?://%s/\|' \
'alpine\.freeiz\.com' \
@@ -576,7 +589,6 @@ then
'download\.osgeo\.org' \
'ftp\.daper\.net' \
'isl\.gforge\.inria\.fr' \
- 'lilypond\.org' \
'pkgbuild\.com' \
'qgis\.org' \
'webhome\.phy\.duke\.edu' \
@@ -593,8 +605,8 @@ then
remVer="$( \
curl_it "${quVer}" | \
tr '"<>' '\n\n\n' | \
- grep "^${pkgname%-devel}\(-src\)\?-\?[0-9._]\+[a-z]\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \
- sed "s@^${pkgname%-devel}\(-src\)\?-\?\([0-9._]\+[a-z]\?\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \
+ grep "^${sPkgname}\(-src\)\?-\?[0-9._]\+[a-z]\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \
+ sed "s@^${sPkgname}\(-src\)\?-\?\([0-9._]\+[a-z]\?\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \
tr '_' '.' | \
sort -V | \
tail -n1