summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4617cf2bafbed3496d20e2d71e4687f28d1bf86b (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=4.01c.r49.gc57988e6
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}"
}