diff options
author | Achilleas Pipinellis | 2015-08-17 10:36:30 +0300 |
---|---|---|
committer | Achilleas Pipinellis | 2015-08-17 10:36:30 +0300 |
commit | 03cf639d21461e4e46cb06a02dcef109c954ce6a (patch) | |
tree | 0995f1c859ea9b253712ab427a38287846169d55 /PKGBUILD | |
download | aur-03cf639d21461e4e46cb06a02dcef109c954ce6a.tar.gz |
Init commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..913510fb1671 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Achilleas Pipinellis <axilleas archlinux info> +# Note: This is a fork fixing numerous bugs. You will not find this version +# in pypi. + +pkgname=python2-pypcap +_pkgname=pypcap +pkgver=1.1.3 +pkgrel=1 +pkgdesc="A simplified object-oriented Python wrapper for libpcap" +arch=(any) +url="https://github.com/pynetwork/pypcap" +license=('BSD') +depends=('python2') +makedepends=('python2-setuptools') +source=(https://github.com/pynetwork/$_pkgname/archive/v${pkgver}.zip) + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: +md5sums=('2bb733983f96509401d23590b9ae745d') |