blob: 3b068b0f45c9294f4b40096bb52ac7dccaf36871 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-impacket
_pkgname=impacket
pkgver=0.9.19
pkgrel=0
pkgdesc="A collection of Python3 classes providing access to network packets"
url="http://code.google.com/p/impacket/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-impacket" # Backwards compatibility
provides="py-impacket=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -rf "$pkgdir"/usr/share/doc # LICENSE and README.md
}
sha512sums="7707e7053de339f80167dc4f4846201db752cf260034eb74608092714a4587a2ab5fb04b73ca6440c91db8db227d7a9f7b70ad7e7fd48aa9057e45abe3f84a7d impacket-0.9.19.tar.gz"
|