Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions srcpkgs/gsmartcontrol/template
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# 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"
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"
}