From 66dc2df2a94342b33d9776001ae89fbbe5fd6ef7 Mon Sep 17 00:00:00 2001 From: yopito Date: Wed, 20 Sep 2017 20:28:26 +0200 Subject: [PATCH] gsmartcontrol: update to 1.1.0 --- .../gsmartcontrol/files/gsmartcontrol-pkexec | 4 ---- .../org.void.pkexec.gsmartcontrol.policy | 19 ------------------- srcpkgs/gsmartcontrol/template | 15 ++------------- 3 files changed, 2 insertions(+), 36 deletions(-) delete mode 100755 srcpkgs/gsmartcontrol/files/gsmartcontrol-pkexec delete mode 100644 srcpkgs/gsmartcontrol/files/org.void.pkexec.gsmartcontrol.policy diff --git a/srcpkgs/gsmartcontrol/files/gsmartcontrol-pkexec b/srcpkgs/gsmartcontrol/files/gsmartcontrol-pkexec deleted file mode 100755 index 7cf85926175..00000000000 --- a/srcpkgs/gsmartcontrol/files/gsmartcontrol-pkexec +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -pkexec --disable-internal-agent "/usr/bin/gsmartcontrol" "$@" - diff --git a/srcpkgs/gsmartcontrol/files/org.void.pkexec.gsmartcontrol.policy b/srcpkgs/gsmartcontrol/files/org.void.pkexec.gsmartcontrol.policy deleted file mode 100644 index 3c266dae5f2..00000000000 --- a/srcpkgs/gsmartcontrol/files/org.void.pkexec.gsmartcontrol.policy +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - Authentication is required to run GSmartControl - gsmartcontrol - - auth_admin - auth_admin - auth_admin - - /usr/bin/gsmartcontrol - true - - - diff --git a/srcpkgs/gsmartcontrol/template b/srcpkgs/gsmartcontrol/template index d6ad62bdf56..0cd038beaef 100644 --- a/srcpkgs/gsmartcontrol/template +++ b/srcpkgs/gsmartcontrol/template @@ -1,6 +1,6 @@ # Template file for 'gsmartcontrol' pkgname=gsmartcontrol -version=1.0.2 +version=1.1.0 revision=1 build_style=gnu-configure hostmakedepends="pkg-config" @@ -11,20 +11,9 @@ maintainer="yopito " license="GPL-3" homepage="http://gsmartcontrol.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" -checksum=4f70451c359d95edc974498b860696b698f19b187340dc7207b4b38cbaf5e207 +checksum=90c9ead852255f5e1a74a3ff6c265d1cbcba19ad2fc77059c60737c13a3cd2c8 post_install() { # license files uneeded rm -f ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE_* - - # PolicyKit support - vinstall ${FILESDIR}/org.void.pkexec.gsmartcontrol.policy 644 /usr/share/polkit-1/actions - vbin ${FILESDIR}/gsmartcontrol-pkexec - - sed -i "s|^Exec=.*|Exec="/usr/bin/gsmartcontrol-pkexec"|" \ - ${DESTDIR}/usr/share/applications/gsmartcontrol.desktop - - # no more need of gsmartcontrol-root since polkit - rm -f ${DESTDIR}/usr/bin/${pkgname}-root - rm -f ${DESTDIR}/usr/share/man/man1/gsmartcontrol-root.1 }