Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

gerix-wifi-cracker PKGBUILD

By: a guest on Jan 2nd, 2011  |  syntax: Bash  |  size: 1.32 KB  |  hits: 995  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=gerix-wifi-cracker-ng
  2. pkgver=r20
  3. pkgrel=3
  4. pkgdesc="A really complete GUI for Aircrack-NG which includes useful extras."
  5. arch=('i686' 'x86_64')
  6. url="http://backtrack.it/~emgent/hackstuff/Gerix-Wifi-Cracker-NG/"
  7. license=('GPL2')
  8. depends=('aircrack-ng' 'xterm' 'zenity' 'pyqt3')
  9. optdepends=('gksu: to run gerix directly from menu')
  10. source=('gerix.desktop' 'gerix' http://www.backtrack.it/~emgent/hackstuff/old_gerix_wifi_cracker_ng/download/${pkgname}-${pkgver}.tar)
  11.  
  12. md5sums=('c01945b0c73888f917491c6f2746ed3b'
  13.          '7e1ee6cf123172fa34399fdd7e5ecea7'
  14.          '991f87ae351389d43596f726b441200f')
  15.  
  16.  
  17. build() {
  18.         cd $srcdir/${pkgname}-${pkgver}/
  19.         mkdir -p $pkgdir/usr/share/$pkgname | return 0
  20.         mkdir -p $pkgdir/usr/bin | return 0
  21.         mkdir -p $pkgdir/usr/share/applications | return 0
  22.         make
  23.         install -D -m755 $startdir/gerix $pkgdir/usr/bin/
  24.         install -D -m644 $startdir/gerix.desktop $pkgdir/usr/share/applications/
  25.         install -D -m755 $srcdir/${pkgname}-${pkgver}/gerix*.py $pkgdir/usr/share/$pkgname/ | return 0
  26.         install -D -m644 $srcdir/${pkgname}-${pkgver}/gerix*.ui $pkgdir/usr/share/$pkgname/ | return 0
  27.         install -D -m644 $srcdir/${pkgname}-${pkgver}/gerix*.ui.h $pkgdir/usr/share/$pkgname/ | return 0
  28.         install -D -m644 $srcdir/${pkgname}-${pkgver}/gerix*.png $pkgdir/usr/share/$pkgname/ | return 0
  29.         return 0
  30. }