This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 8th, 2013  |  syntax: Bash  |  size: 0.54 KB  |  views: 37  |  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=tcpick
  2. pkgver=0.2.1
  3. pkgrel=4
  4. pkgdesc="TCP stream sniffer and connection tracker"
  5. arch=('i686' 'x86_64')
  6. depends=('libpcap')
  7. source=(http://download.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
  8. md5sums=('bb94f2f9ea81aeb645619fbe9b3b9a29')
  9. url="http://tcpick.sourceforge.net/"
  10. install=
  11. license=('GPL')
  12.  
  13. build() {
  14.         cd $startdir/src/$pkgname-$pkgver
  15.         ./configure --prefix=/usr --mandir=/usr/share/man
  16.         make || return 1
  17. }
  18.  
  19. package(){
  20.         cd $startdir/src/$pkgname-$pkgver
  21.         make DESTDIR=$startdir/pkg/$pkgname install
  22. }
clone this paste RAW Paste Data