gsmartcontrol: update to 2.0.2

Long overdue update which brings nvme support.
This commit is contained in:
gc-user 2025-05-22 12:28:44 +02:00 committed by Duncan Overbruck
parent d936a29417
commit 04d78d8d3f

View file

@ -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 <orphan@voidlinux.org>"
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"
}