contrib: AMF: download a smaller version of the git
The tarball we download is huge and often fails. We can just download the tagged version with a depth of 1
. And we can just package the only directory we are interested in. On my machine it seems a lot faster than downloading the tarball.
The contrib is updated to 1.4.30 while we're at it.
- v3: switch to git
sparse-checkout
- v5: use the real hash of the tag to verify it matches the one we expect
Edited by Steve Lhomme