# Contributor: Cyberpunk # Maintainer: Cyberpunk pkgname=sqlmap _pkgname=master pkgver=1.0dev.20150618 pkgrel=1 pkgdesc="Is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers." arch=('any') url="http://sqlmap.org/" license=('GPLv2') depends=('python2') conflicts=('sqlmap-git') source=('git+https://github.com/sqlmapproject/sqlmap.git') package() { install -dm755 "$pkgdir/usr/share/$pkgname" install -dm755 "$pkgdir/usr/bin" cd "$srcdir/$pkgname" cp -R * "$pkgdir/usr/share/$pkgname" cat > "$pkgdir/usr/bin/$pkgname" << EOF #!/bin/bash cd /usr/share/sqlmap && python2 sqlmap.py "\$@" EOF chmod 755 "$pkgdir/usr/bin/sqlmap" } sha256sums=('SKIP')