mpqtool: fix cross

This commit is contained in:
Michal Vasilek 2022-08-20 09:39:19 +02:00
parent f08493a55d
commit aa63ced611
1 changed files with 5 additions and 0 deletions

View File

@ -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
}