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

Eduardo Romero eduardo at archlinux.org
Tue Jul 8 19:55:55 EDT 2008


    Date: Tuesday, July 8, 2008 @ 19:55:54
  Author: eduardo
Revision: 4701

Modified:
  kismet/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-08 23:24:46 UTC (rev 4700)
+++ PKGBUILD	2008-07-08 23:55:54 UTC (rev 4701)
@@ -3,25 +3,23 @@
 # Maintainer: Jason Chu <jason at archlinux.org>
 
 pkgname=kismet
-pkgver=2007_10_R1
-_realver=2007-10-R1
-pkgrel=1
+pkgver=2007_01_R1b
+pkgrel=3
 pkgdesc="802.11b sniffing software"
 arch=(i686 x86_64)
 license=('GPL')
 if [ "${CARCH}" == "x86_64" ]; then
-  depends=('gcc-libs' 'libpcap>=0.9.8' 'ncurses' 'dbus')
+  depends=('gcc-libs' 'libpcap>=0.9.8' 'ncurses')
 else
-  depends=('gmp' 'imagemagick' 'libpcap>=0.9.8' 'ncurses' 'dbus')
+  depends=('gmp' 'imagemagick' 'libpcap>=0.9.8' 'ncurses')
 fi
 url="http://www.kismetwireless.net/"
 backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet.conf' 'etc/kismet_drone.conf' 'etc/kismet_ui.conf')
-source=(http://www.kismetwireless.net/code/kismet-$_realver.tar.gz)
-md5sums=('2100c667e69db0cde35fa2d06c8516e2')
-sha1sums=('a1c682797ad6842b53f9e0f038254aa8326e0fb4')
+source=(http://www.kismetwireless.net/code/kismet-2007-01-R1b.tar.gz)
+md5sums=('a1dcea71f0c3f881ef72f5bca2db7b39')
 
 build() {
-   cd $startdir/src/kismet-$_realver
+   cd $startdir/src/kismet-2007-01-R1b
    
    if [ $CARCH == "x86_64" ]; then
      ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
@@ -35,8 +33,5 @@
    make DESTDIR=$startdir/pkg install
 
    mkdir -p $startdir/pkg/usr/share/kismet
-   install -m 644 $startdir/src/kismet-$_realver/README $startdir/pkg/usr/share/kismet
-
-   # Fix the *.conf unexpanded ${prefix} problems
-   sed -i 's%\${prefix}%/usr%' $startdir/pkg/etc/*.conf
+   install -m 644 $startdir/src/kismet-2007-01-R1b/README $startdir/pkg/usr/share/kismet
 }





More information about the arch-commits mailing list