summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-07-31 20:07:26 +0200
committerErich Eckner <git@eckner.net>2021-07-31 20:07:26 +0200
commit7ffa3fd461b683caa15bbdb3bbf07b767ee01499 (patch)
treec9b42fe0c9b4d77d2833852d5b679d472951387c
parentc6a1f78789e15c0fe3c1e518588d0b87993f402b (diff)
downloadarchlinuxewe-7ffa3fd461b683caa15bbdb3bbf07b767ee01499.tar.xz
bumpVersion: learn otf-grundschrift
-rwxr-xr-xbumpVersion13
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}"'|;