From 04d78d8d3f70ea905e940981110404cf9fe7b914 Mon Sep 17 00:00:00 2001 From: gc-user Date: Thu, 22 May 2025 12:28:44 +0200 Subject: [PATCH] gsmartcontrol: update to 2.0.2 Long overdue update which brings nvme support. --- srcpkgs/gsmartcontrol/template | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/gsmartcontrol/template b/srcpkgs/gsmartcontrol/template index 2754712e835..16563e9cebe 100644 --- a/srcpkgs/gsmartcontrol/template +++ b/srcpkgs/gsmartcontrol/template @@ -1,8 +1,8 @@ # Template file for 'gsmartcontrol' pkgname=gsmartcontrol -version=1.1.4 +version=2.0.2 revision=1 -build_style=gnu-configure +build_style=cmake hostmakedepends="pkg-config" makedepends="gtkmm-devel pcre-devel desktop-file-utils" depends="smartmontools hicolor-icon-theme" @@ -10,11 +10,15 @@ short_desc="GUI to smartmontools" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://gsmartcontrol.shaduri.dev" -distfiles="https://github.com/ashaduri/gsmartcontrol/releases/download/v${version}/${pkgname}-${version}.tar.bz2" -checksum=fc409f2b8a84cc40bb103d6c82401b9d4c0182d5a3b223c93959c7ad66191847 +distfiles="https://github.com/ashaduri/gsmartcontrol/archive/refs/tags/v${version}.tar.gz" +checksum=7cebd83fd34883d51e143389aa88f8173ea7b67c760b12b7de847f3c3c8cee34 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DAPP_BUILD_TESTS=ON" +fi post_install() { # license files uneeded - rm -f ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE_* - vdoc ${FILESDIR}//README.voidlinux + rm -f "${DESTDIR}"/usr/share/doc/gsmartcontrol/LICENSE_* + vdoc "${FILESDIR}/README.voidlinux" }