summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f290729cd97c499f7ac01b355ab36f3a2d37696 (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
25
26
27
28
29
# Maintainer: takeshix <dizzy [at] adversec [dot] com>

_gitname=dizzy
pkgname="${_gitname}-git"
pkgver=2.0.c44b8ff
pkgrel=1
pkgdesc='Network and USB protocol fuzzing toolkit'
url='https://github.com/ernw/dizzy'
arch=('any')
license=('BSD-3-Clause')
depends=('python' 'python-setuptools')
makedepends=('git')
provides=('dizzy_cmd')
conflicts=('dizzy_cmd')
source=("${_gitname}::git+https://github.com/ernw/dizzy.git")
sha512sums=('SKIP')

pkgver() {
  cd ${_gitname}
  printf "%s.%s" "$(git describe --tags --abbrev=0|sed 's/^v//'|sed 's/\-/_/')" \
                 "$(git rev-parse --short HEAD)"
}

package() {
  cd ${_gitname}
  python3 setup.py install --root="$pkgdir/" --optimize=1
}

# vim: ts=2 sw=2