4 baseurl
=https
://raw.githubusercontent.com
/archlinux
/archweb
/44336237bcaadb07d01c1f83fb97a9dc56cda56d
/public
/static
/logos
/
10 rm -f -- "$remote" "$name.svg.tmp" "$name.svg" "$name.png"
11 wget
-O "$remote" -- "$baseurl/$remote"
12 rsvg-convert
-f svg
-w 256 -o "$name.svg.tmp" -- "$remote"
13 scour
--strip-xml-prolog --remove-descriptive-elements \
14 --enable-comment-stripping --enable-viewboxing \
15 --enable-id-stripping --shorten-ids \
16 -i "$name.svg.tmp" -o "$name.svg"
17 rm -- "$remote" "$name.svg.tmp"
20 mklogo archlinux-logo archlinux-logo-only.svg
&
21 mklogo archlinux-logo-text archlinux-logo-dark-scalable.svg
&
22 mklogo archlinux-logo-text-dark archlinux-logo-light-scalable.svg
&
26 rsvg-convert
-f png
-z 1 -o archlinux-logo.png archlinux-logo.svg
27 optipng
-strip all
-o4 -fix -- archlinux-logo.png