From 275af49c9cf45845f2412f8676ccf3597f33947d 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.12.0 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..77e4857e8c6608 --- /dev/null +++ b/srcpkgs/fastfetch/template @@ -0,0 +1,26 @@ +# Template file for 'fastfetch' +pkgname=fastfetch +version=2.12.0 +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="0f6d797ae0c4dd14d09f18ee3f51f53c29d820d8fd65066280938efed414af9d" + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DBUILD_TESTS=ON" +fi + +do_check() { + cd build + ctest ${makejobs} +} + +post_install() { + vlicense LICENSE +}