alacritty: use cargo buildstyle
This commit is contained in:
parent
0318d0385a
commit
27f886c4d5
1 changed files with 11 additions and 7 deletions
|
@ -2,7 +2,8 @@
|
||||||
pkgname=alacritty
|
pkgname=alacritty
|
||||||
version=0.2.1
|
version=0.2.1
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="cargo cmake pkg-config"
|
build_style=cargo
|
||||||
|
hostmakedepends="cmake pkg-config"
|
||||||
makedepends="freetype-devel fontconfig-devel"
|
makedepends="freetype-devel fontconfig-devel"
|
||||||
depends="libXxf86vm xclip ncurses alacritty-terminfo-${version}_${revision}"
|
depends="libXxf86vm xclip ncurses alacritty-terminfo-${version}_${revision}"
|
||||||
short_desc="Cross-platform, GPU-accelerated terminal emulator"
|
short_desc="Cross-platform, GPU-accelerated terminal emulator"
|
||||||
|
@ -12,14 +13,17 @@ homepage="https://github.com/jwilm/${pkgname}"
|
||||||
changelog="https://raw.githubusercontent.com/jwilm/${pkgname}/v${version}/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/jwilm/${pkgname}/v${version}/CHANGELOG.md"
|
||||||
distfiles="https://github.com/jwilm/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/jwilm/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=d335f09ba914faf8d8b2ba91a67672aab3acd1a3bb1528ec3d9339381697f6a1
|
checksum=d335f09ba914faf8d8b2ba91a67672aab3acd1a3bb1528ec3d9339381697f6a1
|
||||||
nocross=yes
|
nocross="conflicting implementations of trait platform::platform::x11::util::format::Formattable"
|
||||||
|
|
||||||
do_build() {
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
cargo build --release ${makejobs}
|
i686)
|
||||||
}
|
broken="Alacritty v0.2.0 is broken on i686
|
||||||
|
Build log: https://travis-ci.org/void-linux/void-packages/jobs/429814888
|
||||||
|
Issue: https://github.com/jwilm/alacritty/issues/1552";
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
vbin target/release/$pkgname
|
|
||||||
vinstall alacritty.desktop 644 usr/share/applications
|
vinstall alacritty.desktop 644 usr/share/applications
|
||||||
vinstall alacritty-completions.zsh 644 usr/share/zsh/site-functions _alacritty
|
vinstall alacritty-completions.zsh 644 usr/share/zsh/site-functions _alacritty
|
||||||
vinstall alacritty-completions.fish 644 usr/share/fish/completions alacritty.fish
|
vinstall alacritty-completions.fish 644 usr/share/fish/completions alacritty.fish
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue