diff --git a/fastfetch/alr.sh b/fastfetch/alr.sh index 18115c8..360b749 100644 --- a/fastfetch/alr.sh +++ b/fastfetch/alr.sh @@ -1,5 +1,5 @@ name='fastfetch' -version='2.38.0' +version='2.39.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.' homepage='https://github.com/fastfetch-cli/fastfetch' @@ -34,15 +34,22 @@ sources=("https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${version checksums=('SKIP') build() { - cd $srcdir/$name-$version - cmake -DCMAKE_BUILD_TYPE=Release - cmake --build . --target fastfetch -j$(nproc) - } + cd $srcdir/$name-$version + cmake -DCMAKE_BUILD_TYPE=Release + cmake --build . --target fastfetch -j $(($(nproc) - 1)) +} + package() { - cd $srcdir/$name-$version - install-binary ./fastfetch - install-license ./LICENSE fastfetch/LICENSE - install-manual ./fastfetch.1 - ./ completion fish | install-completion fish fastfetch - install-completion bash fastfetch < ./completions/fastfetch.bash - } \ No newline at end of file + cd $srcdir/$name-$version + install-binary ./fastfetch + install-license ./LICENSE fastfetch/LICENSE + install-manual ./fastfetch.1 + ./ completion fish | install-completion fish fastfetch + install-completion bash fastfetch < ./completions/fastfetch.bash + install-completion zsh fastfetch < ./completions/fastfetch.zsh +} + +files() { + echo ./usr/bin/fastfetch + printf '"%s" ' ./usr/share/**/* +}