35 lines
1.3 KiB
Bash
35 lines
1.3 KiB
Bash
# Template file for 'alacritty'
|
|
pkgname=alacritty
|
|
version=0.3.2
|
|
revision=3
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
makedepends="freetype-devel fontconfig-devel"
|
|
depends="libXxf86vm xclip ncurses alacritty-terminfo-${version}_${revision}"
|
|
short_desc="Cross-platform, GPU-accelerated terminal emulator"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/jwilm/${pkgname}"
|
|
changelog="https://raw.githubusercontent.com/jwilm/${pkgname}/v${version}/CHANGELOG.md"
|
|
distfiles="https://github.com/jwilm/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=e2bc5323d505d9d487b2fdfc29f82a77e18b17f92de3988742950471808272f7
|
|
|
|
post_install() {
|
|
vinstall extra/linux/alacritty.desktop 644 usr/share/applications
|
|
vinstall extra/completions/_alacritty 644 usr/share/zsh/site-functions
|
|
vinstall extra/completions/alacritty.bash 644 usr/share/bash-completion/completions/alacritty
|
|
vinstall extra/completions/alacritty.fish 644 usr/share/fish/completions
|
|
vinstall extra/logo/alacritty-term.svg 644 usr/share/icons/hicolor/scalable/apps Alacritty.svg
|
|
vinstall extra/alacritty.info 644 usr/share/terminfo/a
|
|
vman extra/alacritty.man alacritty.1
|
|
vsconf alacritty.yml
|
|
}
|
|
|
|
alacritty-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|