diff --git a/srcpkgs/mpqtool/template b/srcpkgs/mpqtool/template index 9b2354d6fa3..a36124b0c05 100644 --- a/srcpkgs/mpqtool/template +++ b/srcpkgs/mpqtool/template @@ -11,6 +11,11 @@ homepage="https://github.com/ceres-wc3/ceres-mpqtool" distfiles="https://github.com/ceres-wc3/ceres-mpqtool/archive/v${version}.tar.gz" checksum=80be5a5f4273f4ca943689f37243a734ca9d564a37d0a259f4a9d4bdb6139857 +pre_build() { + # fixes an indexmap error when cross compiling + cargo update --package autocfg:0.1.7 --precise 0.1.8 +} + post_install() { vlicense LICENSE }