[arch-commits] Commit in wifi-radar/trunk (PKGBUILD)

Sébastien Luttringer seblu at nymeria.archlinux.org
Thu May 30 18:51:59 EDT 2013


    Date: Friday, May 31, 2013 @ 00:51:59
  Author: seblu
Revision: 92013

upgpkg: wifi-radar 2.0.s08-6

- /usr merge

Modified:
  wifi-radar/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 22:46:15 UTC (rev 92012)
+++ PKGBUILD	2013-05-30 22:51:59 UTC (rev 92013)
@@ -7,7 +7,7 @@
 
 pkgname=wifi-radar
 pkgver=2.0.s08
-pkgrel=5
+pkgrel=6
 pkgdesc="A PyGTK2 utility for managing WiFi profiles"
 arch=('any')
 url="http://wifi-radar.berlios.de/"
@@ -25,17 +25,17 @@
   cd ${srcdir}/$pkgname-$pkgver
 
   # python2 fix
-  sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' wifi-radar
+  sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $pkgname
 
-# Fix iwlist and iwconfig path
-  sed -i 's|/sbin/iwlist|/usr/sbin/iwlist|' $pkgname
-  sed -i 's|/sbin/iwconfig|/usr/sbin/iwconfig|' $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 
+  make
 }
 package() {
   cd ${srcdir}/$pkgname-$pkgver
-  make DESTDIR=${pkgdir}/usr sysconfdir=${pkgdir}/etc install
+  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"



More information about the arch-commits mailing list