fastfetch: new port at 2.2.2

This commit is contained in:
Luis
2023-11-07 11:31:26 +01:00
parent f91f17fb59
commit 2bbbce03a9
3 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1 @@
f9ac7bbb57148adffbf55f714be8806e fastfetch-2.2.2.tar.gz

43
main/fastfetch/.pkgfiles Normal file
View File

@@ -0,0 +1,43 @@
fastfetch-2.2.2-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/fastfetch
-rwxr-xr-x root/root usr/bin/flashfetch
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/bash-completion/
drwxr-xr-x root/root usr/share/bash-completion/completions/
-rw-r--r-- root/root usr/share/bash-completion/completions/fastfetch
drwxr-xr-x root/root usr/share/fastfetch/
drwxr-xr-x root/root usr/share/fastfetch/presets/
-rw-r--r-- root/root usr/share/fastfetch/presets/all
-rw-r--r-- root/root usr/share/fastfetch/presets/all.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/btw
-rw-r--r-- root/root usr/share/fastfetch/presets/btw.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/ci
drwxr-xr-x root/root usr/share/fastfetch/presets/examples/
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/1
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/10.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/11.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/2
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/2.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/3
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/3.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/4
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/4.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/5
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/5.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/6.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/7.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/8.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/examples/9.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/hardware
-rw-r--r-- root/root usr/share/fastfetch/presets/hardware.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/neofetch
-rw-r--r-- root/root usr/share/fastfetch/presets/neofetch.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/paleofetch
-rw-r--r-- root/root usr/share/fastfetch/presets/paleofetch.jsonc
-rw-r--r-- root/root usr/share/fastfetch/presets/software
-rw-r--r-- root/root usr/share/fastfetch/presets/software.jsonc
drwxr-xr-x root/root usr/share/licenses/
drwxr-xr-x root/root usr/share/licenses/fastfetch/
-rw-r--r-- root/root usr/share/licenses/fastfetch/LICENSE

27
main/fastfetch/spkgbuild Normal file
View File

@@ -0,0 +1,27 @@
# description : Like Neofetch, but much faster because written in C
# homepage : https://github.com/fastfetch-cli/fastfetch
# depends : cmake dbus dconf imagemagick libxcb libxrandr
# depends : mesa pciutils vulkan-icd-loader zlib
name=fastfetch
version=2.2.2
release=1
source="${name}-${version}.tar.gz::https://github.com/fastfetch-cli/fastfetch/archive/${version}.tar.gz"
build() {
cmake -B build -S $name-$version \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-DBUILD_TESTS='OFF' \
-DENABLE_SQLITE3='OFF' \
-DENABLE_RPM='OFF' \
-DENABLE_IMAGEMAGICK6='OFF' \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}