From 5ead392598065ee2961b87843a65f3766b1e83be Mon Sep 17 00:00:00 2001 From: Fotios Valasiadis Date: Sun, 5 May 2024 17:22:36 +0300 Subject: [PATCH] New package: fastfetch-2.11.5 A solid neofetch replacement for void powerusers! Signed-off-by: Fotios Valasiadis Co-authored-by: Luca Matei Pintilie --- srcpkgs/fastfetch/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/fastfetch/template diff --git a/srcpkgs/fastfetch/template b/srcpkgs/fastfetch/template new file mode 100644 index 00000000000000..a31b788dd71980 --- /dev/null +++ b/srcpkgs/fastfetch/template @@ -0,0 +1,26 @@ +# Template file for 'fastfetch' +pkgname=fastfetch +version=2.11.5 +revision=1 +build_style=cmake +hostmakedepends="pkg-config" +short_desc="Fast neofetch alternative written in C" +maintainer="Fotios Valasiadis " +license="MIT" +homepage="https://github.com/fastfetch-cli/fastfetch" +changelog="https://raw.githubusercontent.com/fastfetch-cli/fastfetch/master/CHANGELOG.md" +distfiles="https://github.com/fastfetch-cli/${pkgname}/archive/refs/tags/${version}.tar.gz" +checksum="83b7699d0aee3aa1683721fe4b82d667c88e97e257d48e9efe586b0e830f8a64" + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DBUILD_TESTS=ON" +fi + +do_check() { + cd build + ctest ${makejobs} +} + +post_install() { + vlicense LICENSE +}