alacritty: update to 0.10.1

- fix cross-compiling
- fix distfiles URL
This commit is contained in:
Subhaditya Nath 2022-03-18 19:43:51 +05:30 committed by Michal Vasilek
parent 14214396da
commit 8eb2f09574

View file

@ -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 <abc@pompel.me>"
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*) ;;