diff options
author | root <root@rshg054.dnsready.net> | 2012-08-30 00:04:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-30 00:04:43 +0000 |
commit | dba5b0127d9f00a13c489f0f5893481cbe7d429b (patch) | |
tree | 47714a8937db14a824360836173033d11bb152f1 /community/gsmartcontrol/PKGBUILD | |
parent | 498a4346616c33beac56d48a246cf27fe3812341 (diff) |
Thu Aug 30 00:04:42 UTC 2012
Diffstat (limited to 'community/gsmartcontrol/PKGBUILD')
-rw-r--r-- | community/gsmartcontrol/PKGBUILD | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/community/gsmartcontrol/PKGBUILD b/community/gsmartcontrol/PKGBUILD index 5d772fd4a..5ed813a1d 100644 --- a/community/gsmartcontrol/PKGBUILD +++ b/community/gsmartcontrol/PKGBUILD @@ -2,18 +2,18 @@ pkgname=gsmartcontrol pkgver=0.8.7 -pkgrel=1 +pkgrel=2 pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool." arch=('i686' 'x86_64') url="http://gsmartcontrol.berlios.de/home/index.php/en/Home" license=('GPL3') depends=('smartmontools' 'pcre' 'gtkmm' 'libglademm' 'glib2' 'xorg-xmessage') -optdepends=('gnomesu: for gsmartcontrol-root' - 'gksu: for gsmartcontrol-root') +optdepends=('polkit: to run gparted directly from menu') install=${pkgname}.install -source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2) -md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30') - +source=(http://download.berlios.de/gsmartcontrol/${pkgname}-${pkgver}.tar.bz2 org.archlinux.pkexec.gsmartcontrol.policy gsmartcontrol.desktop) +md5sums=('6d104c2ffc1e693cd1a8052a6d7e3b30' + 'e7b9380849cdcaa4356a42559ea7954f' + '19b20293a639e51fa2abb929a3faae01') build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -30,4 +30,12 @@ package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install -} + + # Install pexec fixed desktop file + install -Dm755 $srcdir/gsmartcontrol.desktop $pkgdir/usr/share/applications/gsmartcontrol.desktop + + # Install pexec file + install -Dm766 $srcdir/org.archlinux.pkexec.gsmartcontrol.policy \ + $pkgdir/usr/share/polkit-1/actions/org.archlinux.pkexec.gsmartcontrol.policy + + } |