Guest User

Untitled

a guest
May 5th, 2013
61
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Michael P <ptchinster@archlinux.us>
  2. # Contributor: Christoph Siegenthaler <csi@gmx.ch>
  3. # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
  4. # Contributor: s3my0n <rush4ck3r@gmail.com>
  5.  
  6. pkgname=tcpxtract
  7. pkgver=1.0.1
  8. pkgrel=3
  9. pkgdesc="A tool for extracting files from network traffic"
  10. url="http://tcpxtract.sourceforge.net"
  11. arch=('i686' 'x86_64')
  12. license=('GPL')
  13. depends=('libpcap')
  14. source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
  15. conf_default_path.patch)
  16. md5sums=('1d8fe172d4590c33a157798e08dc0ccd' 'c7964f1e9c1315ae2d2b94c2bd06b4b7')
  17.  
  18. build()
  19. {
  20. cd $startdir/src/$pkgname-$pkgver
  21. # Applying conf_default_path patch
  22. patch -Np0 -i $startdir/src/conf_default_path.patch || return 1
  23.  
  24. ./configure --prefix=/usr --sysconfdir=/etc || return 1
  25. make || return 1
  26. }
  27. package()
  28. {
  29. cd $startdir/src/$pkgname-$pkgver
  30. make DESTDIR="$pkgdir" install || return 1
  31. }
RAW Paste Data