summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c6182a68680f26064b5345980a531bf886ed0b1 (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
# Maintainer: B.C. van Zuiden <zuiden@ilorentz.org>
_pkgname=aflplusplus
pkgname=${_pkgname}-git
pkgver=v4.10c.r0.g775861ea
pkgrel=1
pkgdesc="The fuzzer afl++ is afl with community patches, qemu 5.1 upgrade, collision-free coverage, enhanced laf-intel & redqueen, AFLfast++ power schedules, MOpt mutators, unicorn_mode, and a lot more!"
arch=('x86_64')
url="https://github.com/AFLplusplus/AFLplusplus"
license=('Apache')
makedepends=('git')
provides=('afl')
conflicts=('afl')
source=("git+https://github.com/AFLplusplus/AFLplusplus.git")
sha256sums=('SKIP')

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

build()
{
    cd AFLplusplus
    make PREFIX="/usr"
}

package()
{
    cd AFLplusplus
    make install PREFIX="/usr" DESTDIR="${pkgdir}"
}