summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 587ce8c7d936ea502ff3c69d4572a4ba86d99b48 (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
30
31
32
33
34
# Maintainer: Emil Edholm <emil@edholm.it>

_pkgname=honggfuzz
pkgname=${_pkgname}-git
pkgver=0.7.r119.g33cce5d
pkgrel=1
pkgdesc="A general-purpose, easy-to-use fuzzer with interesting analysis options"
arch=('i686' 'x86_64')
url="http://google.github.io/honggfuzz/"
license=('Apache')
depends=('binutils'
         'libunwind')
makedepends=()
optdepends=()
conflicts=()
provides=(${_pkgname})
#install=''
source=('git://github.com/google/honggfuzz')
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$_pkgname"
  make
}

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