Phylu

pylibpcap PKGBUILD

Dec 16th, 2014
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.85 KB | None | 0 0
  1. # Maintainer: Jose Riha < jose 1711 gmail com >
  2. # based on comment made by fnord0
  3. # Contributor: Idiot <sunshine1985115 gmail com>
  4. # Contributor: Phylu <maierjanosch gmail com>
  5.  
  6. pkgname=pylibpcap
  7. pkgver=0.6.4
  8. pkgrel=1
  9. pkgdesc="Python module for the libpcap packet capture library, based on the original python libpcap module by Aaron Rhodes."
  10. url="http://pylibpcap.sourceforge.net/"
  11. license=('BSD')
  12. arch=('any')
  13. depends=(python2 libpcap)
  14. makedepends=(python2 libpcap)
  15. source=(http://downloads.sourceforge.net/project/pylibpcap/pylibpcap/$pkgver/pylibpcap-$pkgver.tar.gz)
  16. md5sums=('7ebcaa72f998f85744be226b91d88aa3')
  17.  
  18. build() {
  19.   cd $srcdir/$pkgname-$pkgver
  20.   python2 setup.py config
  21.   python2 setup.py build
  22. }
  23.  
  24. package() {
  25.   cd $srcdir/$pkgname-$pkgver
  26.   python2 setup.py install --root=$pkgdir
  27. }
  28. md5sums=('7ebcaa72f998f85744be226b91d88aa3')
Advertisement
Add Comment
Please, Sign In to add comment