blob: 05d5b6a8e6235bc72685f4ee76a88e7208bd6546 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: omchab16
pkgname=python-pywhisker
pkgver=1.0.0
pkgrel=1
pkgdesc='Python version of the C# tool for "Shadow Credentials" attacks'
arch=('any')
url="https://github.com/ShutdownRepo/pywhisker"
license=('GPL-3.0-only')
depends=(
'impacket'
'python'
'python-cryptography'
'python-dsinternals'
'python-ldap3'
'python-ldapdomaindump'
'python-pyasn1'
'python-rich'
'python-six'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("https://github.com/ShutdownRepo/pywhisker/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=("b73cb29a13a904fcdebe8184491f2cdfaae111b87471407b420b6a5d4aa1a243")
build() {
cd pywhisker-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd pywhisker-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|