aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/alacritty/APKBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/community/alacritty/APKBUILD b/community/alacritty/APKBUILD
index 31ab743c36..bd195abad9 100644
--- a/community/alacritty/APKBUILD
+++ b/community/alacritty/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=alacritty
-pkgver=0.8.0
-pkgrel=0
+pkgver=0.8.0 # XXX: Remove prepare() when upgrading to 0.9.0
+pkgrel=1
pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
url="https://github.com/jwilm/alacritty"
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # limited by rust/cargo
@@ -22,6 +22,15 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/jwilm/alacritty/archive/v$pk
export CARGO_HOME="$srcdir"/cargo
export RUSTFLAGS="-C target-feature=-crt-static"
+prepare() {
+ default_prepare
+
+ # Fix for https://gitlab.alpinelinux.org/alpine/aports/-/issues/12858
+ #
+ # This is a backport of an upstream change and can be removed with 0.9.0.
+ cargo update -p crossfont --precise 0.3.1
+}
+
build() {
cargo build --release --verbose
}