mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
576470cb3a
commit
7dc957f419
1 changed files with 10 additions and 14 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'alacritty'
|
# Template file for 'alacritty'
|
||||||
pkgname=alacritty
|
pkgname=alacritty
|
||||||
version=0.4.2
|
version=0.4.2
|
||||||
revision=1
|
revision=2
|
||||||
|
build_wrksrc="${pkgname}"
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
makedepends="freetype-devel fontconfig-devel libxcb-devel"
|
makedepends="freetype-devel fontconfig-devel libxcb-devel"
|
||||||
|
@ -14,20 +15,15 @@ changelog="https://raw.githubusercontent.com/jwilm/${pkgname}/v${version}/CHANGE
|
||||||
distfiles="https://github.com/jwilm/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/jwilm/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=8dda9d580b9ec793cfdb336b000b73b7e98b4eba91c23ee04ee72a1728754ab2
|
checksum=8dda9d580b9ec793cfdb336b000b73b7e98b4eba91c23ee04ee72a1728754ab2
|
||||||
|
|
||||||
do_install() {
|
|
||||||
cargo install --path ${pkgname} --target ${RUST_TARGET} --root="${DESTDIR}/usr" --locked
|
|
||||||
rm "${DESTDIR}"/usr/.crates.toml
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall extra/linux/Alacritty.desktop 644 usr/share/applications
|
vinstall ../extra/linux/Alacritty.desktop 644 usr/share/applications
|
||||||
vinstall extra/logo/alacritty-term.svg 644 usr/share/pixmaps Alacritty.svg
|
vinstall ../extra/logo/alacritty-term.svg 644 usr/share/pixmaps Alacritty.svg
|
||||||
vinstall extra/completions/alacritty.bash 644 usr/share/bash-completion/completions alacritty
|
vinstall ../extra/completions/alacritty.bash 644 usr/share/bash-completion/completions alacritty
|
||||||
vinstall extra/completions/_alacritty 644 usr/share/zsh/site-functions
|
vinstall ../extra/completions/_alacritty 644 usr/share/zsh/site-functions
|
||||||
vinstall extra/completions/alacritty.fish 644 usr/share/fish/vendor_completions.d
|
vinstall ../extra/completions/alacritty.fish 644 usr/share/fish/vendor_completions.d
|
||||||
vinstall extra/alacritty.info 644 usr/share/terminfo/a
|
vinstall ../extra/alacritty.info 644 usr/share/terminfo/a
|
||||||
vman extra/alacritty.man alacritty.1
|
vman ../extra/alacritty.man alacritty.1
|
||||||
vsconf alacritty.yml
|
vsconf ../alacritty.yml
|
||||||
}
|
}
|
||||||
|
|
||||||
alacritty-terminfo_package() {
|
alacritty-terminfo_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue