Skip to content

Commit

Permalink
python-secretsocks: add missing makedep.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Jun 30, 2023
1 parent b35d6df commit 0409ea4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions packages/empire/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ depends=('python' 'python-urllib3' 'python-requests' 'python-iptools' 'tk'
'python-platformdirs' 'python-pluggy' 'python-ply' 'python-pyasn1'
'python-pyasn1-modules' 'python-pycparser' 'python-pycryptodome'
'python-pygame' 'python-engineio' 'python-python-multipart'
'python-pyvnc' 'python-rsa' 'python-ruff' 'python-secretsocks' 'python-service-identity'
'python-sniffio' 'python-starlette' 'python-stone' 'python-toml'
'python-tomli' 'python-twisted' 'python-typing-extensions'
'python-wcwidth' 'python-websocket-client' 'python-websockets'
'python-werkzeug' 'python-zipp' 'websockify' 'python-zope-interface'
'uvicorn')
'python-pyvnc' 'python-rsa' 'python-ruff' 'python-secretsocks'
'python-service-identity' 'python-sniffio' 'python-starlette'
'python-stone' 'python-toml' 'python-tomli' 'python-twisted'
'python-typing-extensions' 'python-wcwidth' 'python-websocket-client'
'python-websockets' 'python-werkzeug' 'python-zipp' 'websockify'
'python-zope-interface' 'uvicorn')
makedepends=('git')
source=("$pkgname::git+https://github.com/BC-SECURITY/Empire.git"
'https://files.pythonhosted.org/packages/35/d3/d6a9610f19d943e198df502ae660c6b5acf84cc3bc421a2aa3c0fb6b21d1/pyOpenSSL-22.0.0.tar.gz'
Expand Down
11 changes: 6 additions & 5 deletions packages/python-secretsocks/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,26 @@ arch=('any')
url='https://github.com/BC-SECURITY/PySecretSOCKS'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
makedepends=('git' 'python-setuptools')
options=(!emptydirs)
source=("git+https://github.com/BC-SECURITY/PySecretSOCKS")
source=("$pkgname::git+https://github.com/BC-SECURITY/$_pkgname")
sha512sums=('SKIP')

pkgver() {
cd $_pkgname
cd $pkgname

echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
cd "$_pkgname"
cd $pkgname

python setup.py build
}

package() {
cd "$_pkgname"
cd $pkgname

python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

0 comments on commit 0409ea4

Please sign in to comment.