[arch-commits] Commit in wifi-radar/repos/community-any (5 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Wed Aug 21 17:21:17 UTC 2013


    Date: Wednesday, August 21, 2013 @ 19:21:17
  Author: jelle
Revision: 96200

archrelease: copy trunk to community-any

Added:
  wifi-radar/repos/community-any/PKGBUILD
    (from rev 96199, wifi-radar/trunk/PKGBUILD)
  wifi-radar/repos/community-any/org.archlinux.pkexec.wifi-radar.policy
    (from rev 96199, wifi-radar/trunk/org.archlinux.pkexec.wifi-radar.policy)
Deleted:
  wifi-radar/repos/community-any/PKGBUILD
  wifi-radar/repos/community-any/org.archlinux.pkexec.wifi-radar.policy
  wifi-radar/repos/community-any/wifi-radar.install

--------------------+
 PKGBUILD           |   96 +++++++++++++++++++++++++++------------------------
 wifi-radar.install |    4 --
 2 files changed, 51 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-21 17:20:23 UTC (rev 96199)
+++ PKGBUILD	2013-08-21 17:21:17 UTC (rev 96200)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: dtw <dibble.at.thewrecker.dot.net>
-# Contributor: shawnifoley http://bbs.archlinux.org/viewtopic.php?t=11492
-# Contributor: sebastien le guillerm <geekitus at tele2.fr>
-
-pkgname=wifi-radar
-pkgver=2.0.s08
-pkgrel=6
-pkgdesc="A PyGTK2 utility for managing WiFi profiles"
-arch=('any')
-url="http://wifi-radar.berlios.de/"
-license=('GPL')
-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
-        org.archlinux.pkexec.wifi-radar.policy)
-md5sums=('cbad24805d5dc6696e38dc1df619c819'
-         'b66236233a5644a75e638ab6fdcc54fc')
-
-build() {
-  cd ${srcdir}/$pkgname-$pkgver
-
-  # python2 fix
-  sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $pkgname
-
-  # Fix iwlist and iwconfig path
-  sed -i 's|/sbin/iwlist|/usr/bin/iwlist|' $pkgname
-  sed -i 's|/sbin/iwconfig|/usr/bin/iwconfig|' $pkgname
-
-  make
-}
-package() {
-  cd ${srcdir}/$pkgname-$pkgver
-  make DESTDIR="$pkgdir/usr" sysconfdir="$pkgdir/etc" sbindir="$pkgdir/usr/bin" 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"
-}

Copied: wifi-radar/repos/community-any/PKGBUILD (from rev 96199, wifi-radar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-08-21 17:21:17 UTC (rev 96200)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: dtw <dibble.at.thewrecker.dot.net>
+# Contributor: shawnifoley http://bbs.archlinux.org/viewtopic.php?t=11492
+# Contributor: sebastien le guillerm <geekitus at tele2.fr>
+
+pkgname=wifi-radar
+pkgver=2.0.s08
+pkgrel=7
+pkgdesc="A PyGTK2 utility for managing WiFi profiles"
+arch=('any')
+url="http://wifi-radar.berlios.de/"
+license=('GPL')
+depends=('net-tools' 'pygtk' 'wireless_tools')
+optdepends=('polkit-gnome: needed if you launch wifi-radar from menu')
+backup=('etc/wifi-radar.conf')
+source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2
+        org.archlinux.pkexec.wifi-radar.policy)
+md5sums=('cbad24805d5dc6696e38dc1df619c819'
+         'b66236233a5644a75e638ab6fdcc54fc')
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+
+  # python2 fix
+  sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $pkgname
+
+  # Fix iwlist and iwconfig path
+   sed -i -e 's|/sbin/iwlist|/usr/bin/iwlist|' \
+     -i -e 's|/sbin/iwconfig|/usr/bin/iwconfig|' \
+     -i -e 's|/sbin/ifconfig|/usr/bin/ifconfig|' \
+     -i -e 's|/sbin/route|/usr/bin/route|' \
+     -i -e 's|/sbin/dhcpcd|/usr/bin/dhcpcd|' \
+     -i -e 's|/usr/sbin/wpa_supplicant|/usr/bin/wpa_supplicant|' $pkgname
+
+  make
+}
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR="$pkgdir/usr" sysconfdir="$pkgdir/etc" sbindir="$pkgdir/usr/bin" install
+
+  # remove empty /etc dir
+  rmdir $pkgdir/etc
+
+  # 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"
+}

Deleted: org.archlinux.pkexec.wifi-radar.policy
===================================================================
(Binary files differ)

Copied: wifi-radar/repos/community-any/org.archlinux.pkexec.wifi-radar.policy (from rev 96199, wifi-radar/trunk/org.archlinux.pkexec.wifi-radar.policy)
===================================================================
(Binary files differ)

Deleted: wifi-radar.install
===================================================================
--- wifi-radar.install	2013-08-21 17:20:23 UTC (rev 96199)
+++ wifi-radar.install	2013-08-21 17:21:17 UTC (rev 96200)
@@ -1,4 +0,0 @@
-post_remove(){
-  rm etc/wifi-radar.conf &> /dev/null
-  rm var/log/wifi-radar.log &> /dev/null
-}




More information about the arch-commits mailing list