diff --git a/pkg.info b/pkg.info index 8f485aa..6fb0568 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,42 @@ name: fastfetch description: A maintained, feature-rich and performance oriented, neofetch like system information tool -version: 2.52.0 -revision: 2 +version: 2.53.0 +revision: 1 url: https://github.com/fastfetch-cli/fastfetch license: MIT architecture: any -depends: ["glibc","yyjson"] -optional_depends: ["dbus","glib","hwdata","imagemagick","libdrm","libelf","libpulse","libxrandr","python3","sqlite","vulkan-loader","zlib"] -make_depends: ["cmake","dbus","imagemagick","libpulse","libxcb","libxrandr","sqlite","vulkan-headers","vulkan-loader","wayland","xfconf","zlib"] type: source +depends: + - glibc + - yyjson +optional_depends: + - dbus + - glib + - hwdata + - imagemagick + - libdrm + - libelf + - libpulse + - libxrandr + - python3 + - sqlite + - vulkan-loader + - zlib +make_depends: + - cmake + - dbus + - imagemagick + - libpulse + - libxcb + - libxrandr + - sqlite + - vulkan-headers + - vulkan-loader + - wayland + - xfconf + - zlib +downloads: + - url: https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 1488d9b738474e8ef8e8d78e2463722bf706e435857c849b3f480354ad62366e diff --git a/source.sh b/source.sh index 8ae6b71..9249dcf 100644 --- a/source.sh +++ b/source.sh @@ -2,15 +2,9 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory # This function is used for downloading files and putting them into the correct location prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cd "$BPM_SOURCE" # Adds Tide Linux and BPM detection patch -Np1 -i "$BPM_WORKDIR"/add-tide-bpm-detection.patch