summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88be4211fed2d03b8fb4849b287af50f13fd9454 (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: gryffyn <aur@evan.mp>

pkgname=python2-libformatstr-git
_pkgname=libformatstr
pkgver=r26.71f9ac6
pkgrel=1
pkgdesc="Small script to simplify format string exploitation."
arch=('any')
url="https://github.com/hellman/libformatstr/"
license=("MIT")
depends=('python2')
makedepends=('git')
source=("${_pkgname}"::"git+https://github.com/hellman/${_pkgname}")
sha256sums=('SKIP')

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

package() {
    cd ${_pkgname}
    python2 setup.py install --root ${pkgdir}
}