mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
alacritty: update to 0.11.0
This commit is contained in:
parent
63827f4c0c
commit
22f5f32632
1 changed files with 16 additions and 18 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'alacritty'
|
# Template file for 'alacritty'
|
||||||
pkgname=alacritty
|
pkgname=alacritty
|
||||||
version=0.10.1
|
version=0.11.0
|
||||||
revision=2
|
revision=1
|
||||||
build_wrksrc="${pkgname}"
|
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
make_install_args="--path alacritty"
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
makedepends="freetype-devel fontconfig-devel libxcb-devel libxkbcommon-devel"
|
makedepends="freetype-devel fontconfig-devel libxcb-devel libxkbcommon-devel"
|
||||||
depends="libXcursor libXrandr libXi libXxf86vm ncurses alacritty-terminfo-${version}_${revision}"
|
depends="libXcursor libXrandr libXi libXxf86vm ncurses alacritty-terminfo-${version}_${revision}"
|
||||||
|
@ -12,28 +12,26 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/alacritty/alacritty"
|
homepage="https://github.com/alacritty/alacritty"
|
||||||
changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md"
|
||||||
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/alacritty/alacritty/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=e48d4b10762c2707bb17fd8f89bd98f0dcccc450d223cade706fdd9cfaefb308
|
checksum=0fb3370c662f5b87d1b9a487aef999195212b192e08f6f68a572fed8fd637e07
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
# fixes an indexmap error when cross compiling
|
|
||||||
cargo update --package autocfg:1.0.1 --precise 1.1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc64*) ;;
|
ppc64*) ;;
|
||||||
ppc*) broken="ftbfs: thread 'main' panicked at 'slice index starts at 4289555962 but ends at 114', /builddir/rustc-1.46.0-src/src/libstd/io/mod.rs:396:27";;
|
ppc*) broken="ftbfs: thread 'main' panicked at 'slice index starts at 4289555962 but ends at 114', /builddir/rustc-1.46.0-src/src/libstd/io/mod.rs:396:27";;
|
||||||
|
# disable doctests on i686
|
||||||
|
i686) make_check_args="--tests";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ../extra/linux/Alacritty.desktop 644 usr/share/applications
|
vcompletion extra/completions/alacritty.bash bash
|
||||||
vinstall ../extra/logo/alacritty-term.svg 644 usr/share/pixmaps Alacritty.svg
|
vcompletion extra/completions/alacritty.fish fish
|
||||||
vinstall ../extra/completions/alacritty.bash 644 usr/share/bash-completion/completions alacritty
|
vcompletion extra/completions/_alacritty zsh
|
||||||
vinstall ../extra/completions/_alacritty 644 usr/share/zsh/site-functions
|
vinstall extra/linux/Alacritty.desktop 644 usr/share/applications
|
||||||
vinstall ../extra/completions/alacritty.fish 644 usr/share/fish/vendor_completions.d
|
vinstall extra/logo/alacritty-term.svg 644 usr/share/icons/hicolor/scalable/apps Alacritty.svg
|
||||||
tic -o ${DESTDIR}/usr/share/terminfo -xe alacritty,alacritty-direct ../extra/alacritty.info
|
vman extra/alacritty.man alacritty.1
|
||||||
vman ../extra/alacritty.man alacritty.1
|
vsconf alacritty.yml
|
||||||
vsconf ../alacritty.yml
|
|
||||||
|
tic -o ${DESTDIR}/usr/share/terminfo -xe alacritty,alacritty-direct extra/alacritty.info
|
||||||
}
|
}
|
||||||
|
|
||||||
alacritty-terminfo_package() {
|
alacritty-terminfo_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue