fastfetch 2.39.1-1

This commit is contained in:
Евгений Храмов 2025-03-29 01:06:55 +03:00
parent 7cc7adf213
commit b6c58d3686

@ -1,5 +1,5 @@
name='fastfetch' name='fastfetch'
version='2.38.0' version='2.39.1'
release='1' release='1'
desc='Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.' desc='Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.'
homepage='https://github.com/fastfetch-cli/fastfetch' homepage='https://github.com/fastfetch-cli/fastfetch'
@ -34,15 +34,22 @@ sources=("https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${version
checksums=('SKIP') checksums=('SKIP')
build() { build() {
cd $srcdir/$name-$version cd $srcdir/$name-$version
cmake -DCMAKE_BUILD_TYPE=Release cmake -DCMAKE_BUILD_TYPE=Release
cmake --build . --target fastfetch -j$(nproc) cmake --build . --target fastfetch -j $(($(nproc) - 1))
} }
package() { package() {
cd $srcdir/$name-$version cd $srcdir/$name-$version
install-binary ./fastfetch install-binary ./fastfetch
install-license ./LICENSE fastfetch/LICENSE install-license ./LICENSE fastfetch/LICENSE
install-manual ./fastfetch.1 install-manual ./fastfetch.1
./ completion fish | install-completion fish fastfetch ./ completion fish | install-completion fish fastfetch
install-completion bash fastfetch < ./completions/fastfetch.bash install-completion bash fastfetch < ./completions/fastfetch.bash
} install-completion zsh fastfetch < ./completions/fastfetch.zsh
}
files() {
echo ./usr/bin/fastfetch
printf '"%s" ' ./usr/share/**/*
}