summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6bd7e9e3854d99f9f4928c8b9e813be09886116a (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
# Maintainer: GI Jack <iamjacksemail@hackermail.com>
_pkgname=sqlmate
pkgname=sqlmate-git
pkgver=r15.2a19430
pkgrel=1
pkgdesc="A friend of SQLmap which will do what you always expected from SQLmap"
arch=('any')
url="https://github.com/UltimateHackers/sqlmate"
license=('GPLv3')
depends=('python2' 'python2-mechanize')
source=("git://github.com/UltimateHackers/sqlmate.git")
sha256sums=('SKIP')
_pyver=$(pacman -Q python | cut -f 2 -d " " |cut -d "." -f 1,2)

pkgver() {
  cd "$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$_pkgname"
  install -Dm755 "sqlmate" "${pkgdir}/usr/bin/sqlmate"
}