diff --git a/srcpkgs/alacritty/template b/srcpkgs/alacritty/template index 9fb9ccfdb3..94bf361be1 100644 --- a/srcpkgs/alacritty/template +++ b/srcpkgs/alacritty/template @@ -1,6 +1,6 @@ # Template file for 'alacritty' pkgname=alacritty -version=0.10.0 +version=0.10.1 revision=1 build_wrksrc="${pkgname}" build_style=cargo @@ -12,9 +12,13 @@ maintainer="Andrea Brancaleoni " license="Apache-2.0" homepage="https://github.com/alacritty/alacritty" changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=5dee9c94f944b742b0189dd87c43c87175ffadde8049abb4668ca5a3e68fd65a -nocross="IndexMap/autocfg/rust issues - #34889" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=e48d4b10762c2707bb17fd8f89bd98f0dcccc450d223cade706fdd9cfaefb308 + +post_patch() { + # fixes an indexmap error when cross compiling + cargo update --package autocfg --precise 1.1.0 +} case "$XBPS_TARGET_MACHINE" in ppc64*) ;;