[arch-commits] Commit in wifi-radar/trunk (2 files)
Balló György
bgyorgy at nymeria.archlinux.org
Wed Mar 6 02:20:12 UTC 2013
Date: Wednesday, March 6, 2013 @ 03:20:12
Author: bgyorgy
Revision: 85734
upgpkg: wifi-radar 2.0.s08-5
* Replace gksudo with pkexec
* Add net-tools dependency
Added:
wifi-radar/trunk/org.archlinux.pkexec.wifi-radar.policy
Modified:
wifi-radar/trunk/PKGBUILD
----------------------------------------+
PKGBUILD | 18 +++++++++++++-----
org.archlinux.pkexec.wifi-radar.policy | 1 +
2 files changed, 14 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-05 21:38:07 UTC (rev 85733)
+++ PKGBUILD 2013-03-06 02:20:12 UTC (rev 85734)
@@ -7,17 +7,19 @@
pkgname=wifi-radar
pkgver=2.0.s08
-pkgrel=4
+pkgrel=5
pkgdesc="A PyGTK2 utility for managing WiFi profiles"
arch=('any')
url="http://wifi-radar.berlios.de/"
license=('GPL')
-depends=('pygtk' 'wireless_tools' 'sudo')
-optdepends=('gksu: needed if you launch wifi-radar from menu')
+depends=('net-tools' 'pygtk' 'wireless_tools')
+optdepends=('polkit-gnome: needed if you launch wifi-radar from menu')
backup=('etc/wifi-radar.conf')
install=$pkgname.install
-source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('cbad24805d5dc6696e38dc1df619c819')
+source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2
+ org.archlinux.pkexec.wifi-radar.policy)
+md5sums=('cbad24805d5dc6696e38dc1df619c819'
+ 'b66236233a5644a75e638ab6fdcc54fc')
build() {
cd ${srcdir}/$pkgname-$pkgver
@@ -34,4 +36,10 @@
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir}/usr sysconfdir=${pkgdir}/etc install
+
+ # Install policy file
+ install -Dm644 "${srcdir}/org.archlinux.pkexec.wifi-radar.policy" "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.wifi-radar.policy"
+
+ # Modify desktop file
+ sed -i -e "s/^Exec=.*/Exec=pkexec --disable-internal-agent wifi-radar/" "${pkgdir}/usr/share/applications/wifi-radar.desktop"
}
Added: org.archlinux.pkexec.wifi-radar.policy
===================================================================
(Binary files differ)
Index: wifi-radar/trunk/org.archlinux.pkexec.wifi-radar.policy
===================================================================
--- org.archlinux.pkexec.wifi-radar.policy 2013-03-05 21:38:07 UTC (rev 85733)
+++ org.archlinux.pkexec.wifi-radar.policy 2013-03-06 02:20:12 UTC (rev 85734)
Property changes on: wifi-radar/trunk/org.archlinux.pkexec.wifi-radar.policy
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
\ No newline at end of property
More information about the arch-commits
mailing list