diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 10 insertions, 17 deletions
@@ -1,29 +1,30 @@ +# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com > # Maintainer: Daniel Maslowski <info@orangecms.org> _pyname=graphqlmap pkgname=graphqlmap-git -pkgver=r44.87b5626 -pkgrel=2 +pkgver=r63.59305d7 +pkgrel=1 pkgdesc="scripting engine to interact with a GraphQL endpoint for pentesting purposes" arch=('any') url="https://github.com/swisskyrepo/GraphQLmap" license=('MIT') depends=( - 'git' 'python' - 'python-setuptools' - 'python-argparse' 'python-requests' + 'python-rl' +) +makedepends=( + 'git' + 'python-setuptools' ) provides=("$_pyname") conflicts=(graphqlmap) options=(!emptydirs) source=( - git://github.com/swisskyrepo/$_pyname.git - setup.py + git+https://github.com/swisskyrepo/$_pyname.git ) -sha512sums=('SKIP' - 'f8298ccecb9010627a80e12ae736ba2d7b4526bd668585cbc8a3cb1245866d1ea1d762e69511ce55c04824138f4c9bcaddf7c96149efd24f191ca06147633346') +sha512sums=('SKIP') pkgver() { cd "$_pyname" @@ -32,14 +33,6 @@ pkgver() { package() { cd "$_pyname" - sed -i "s#from attacks#from graphqlmap.attacks#" graphqlmap.py - sed -i "s#from utils#from graphqlmap.utils#" attacks.py - mkdir bin - mv graphqlmap.py bin/graphqlmap - mkdir graphqlmap - mv *.py graphqlmap/ - touch graphqlmap/__init__.py - mv ../setup.py . python setup.py install --root="$pkgdir/" --optimize=1 install -Dm 644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE } |