diff options
author | Erich Eckner <git@eckner.net> | 2021-07-31 20:07:26 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-07-31 20:07:26 +0200 |
commit | 7ffa3fd461b683caa15bbdb3bbf07b767ee01499 (patch) | |
tree | c9b42fe0c9b4d77d2833852d5b679d472951387c /bumpVersion | |
parent | c6a1f78789e15c0fe3c1e518588d0b87993f402b (diff) | |
download | archlinuxewe-7ffa3fd461b683caa15bbdb3bbf07b767ee01499.tar.xz |
bumpVersion: learn otf-grundschrift
Diffstat (limited to 'bumpVersion')
-rwxr-xr-x | bumpVersion | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bumpVersion b/bumpVersion index 178ef0163..68ba11dcf 100755 --- a/bumpVersion +++ b/bumpVersion @@ -152,6 +152,19 @@ sha512sums=(\ /^sha512sums=/,/)$/ d ' auto_summen=false +elif [ "${paket}" = 'otf-grundschrift' ]; then + md5sum=$( + curl -LSs 'https://fontlibrary.org/en/font/grundschrift' \ + | sed ' + s@^.*<a href="/assets/downloads/grundschrift/\([0-9a-f]\{32\}\)/grundschrift\.zip" .*$@\1@ + t + d + ' + ) + sed_extra=' + s@^\s*md5sums=(\S\+).*$@md5sums=('"'${md5sum}'"')@ +' + auto_summen=false fi sed -i 's|^\(\s*\)pkgver=.*$|\1pkgver='"${remVer}"'|; |