#!/bin/sh pkgname=fastfetch version=1.9.1.e2abe31 revision=2 short_desc="Like neofetch, but much faster because written in c (NOT MY SOFTWARE)" maintainer="Tracker-Friendly " homepage="https://github.com/fastfetch-cli/fastfetch" license="GPL-3.0" makedepends="git cmake chafa-devel dbus-devel dconf-devel glib-devel libmagick-devel NetworkManager-devel libpulseaudio libX11-devel libxcb-devel libXrandr-devel mesa ocl-icd-devel opencl-headers pciutils-devel Vulkan-Headers vulkan-loader wayland-devel xfconf-devel zlib-devel gtk+3-devel libgcc make autoconf automake binutils bison file findutils flex gawk gcc groff gzip libtool m4 patch pkg-config sed texinfo which sudo" depends="gtk+3" do_build() { echo "Building..." cd ${XBPS_BUILDDIR} rm -rf fastfetch git clone https://github.com/fastfetch-cli/fastfetch.git --branch dev cd fastfetch mkdir build cmake \ -B "./build" \ -S "./" \ -DCMAKE_BUILD_TYPE='RelWithDebInfo' \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTS='ON' \ -DENABLE_SQLITE3=OFF \ -DENABLE_RPM=OFF \ -DENABLE_IMAGEMAGICK6=OFF \ -DENABLE_LIBCJSON=OFF \ -Wno-dev cmake \ --build "./build" DESTDIR=${PKGDESTDIR} cmake \ --install "./build" } do_install() { rm -rf ${DESTDIR}/usr/bin/flashfetch }