From d82649ce7a225620ec36b8b6d9e39b9e4627f3f4 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.13.2 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..2eca931266dcc6 --- /dev/null +++ b/srcpkgs/fastfetch/template @@ -0,0 +1,26 @@ +# Template file for 'fastfetch' +pkgname=fastfetch +version=2.13.2 +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="69ff73a2f5da269bdfbde0a81182a427c6d141633a70cb4b69f7ad37e49726ba" + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DBUILD_TESTS=ON" +fi + +do_check() { + cd build + ctest ${makejobs} +} + +post_install() { + vlicense LICENSE +}