# $Id: PKGBUILD 1735 2009-08-29 09:50:09Z andrea $ # Maintainer: Andrea Scarpino # Contributor: dtw # Contributor: shawnifoley http://bbs.archlinux.org/viewtopic.php?t=11492 # Contributor: sebastien le guillerm pkgname=wifi-radar pkgver=2.0.s06 pkgrel=1 pkgdesc="A PyGTK2 utility for managing WiFi profiles" arch=('i686' 'x86_64') url="http://wifi-radar.berlios.de" license=('GPL') depends=('pygtk' 'wireless_tools' 'sudo') backup=('etc/wifi-radar.conf') install=wifi-radar.install source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('761377668fa47f0328a8ff3e09ebc818') build() { cd $srcdir/$pkgname-$pkgver # Fix iwlist and iwconfig path sed -i 's|/sbin/iwlist|/usr/sbin/iwlist|' wifi-radar sed -i 's|/sbin/iwconfig|/usr/sbin/iwconfig|' wifi-radar make || return 1 make DESTDIR=$pkgdir/usr sysconfdir=${pkgdir}/etc install }