Skip to content

Instantly share code, notes, and snippets.

@bennofs
Created June 26, 2021 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bennofs/c57bc06ff239f4bc1db2c9aa2fcea08b to your computer and use it in GitHub Desktop.
Save bennofs/c57bc06ff239f4bc1db2c9aa2fcea08b to your computer and use it in GitHub Desktop.
# Maintainer GI Jack <GI_Jack@hackermail.com>
pkgname=aflplusplus
pkgver=3.13c
_pkgver=3.13c
pkgrel=1
pkgdesc="afl++ is afl with community patches, AFLfast power schedules, qemu 3.1 upgrade + laf-intel support, MOpt mutators, InsTrim instrumentation, unicorn_mode and a lot more!"
arch=('x86_64')
url="https://github.com/vanhauser-thc/AFLplusplus"
license=('Apache')
provides=('afl')
conflicts=('afl')
optdepends=('qemu: use QEMU with afl')
source=("https://github.com/AFLplusplus/AFLplusplus/archive/${_pkgver}.tar.gz")
sha256sums=('7b0d5b17acb38c19878865b91a26ec718fa0ef53363473240c7cfbdbed356f7f')
prepare() {
cd "AFLplusplus-${_pkgver}"
make clean
}
build() {
cd "AFLplusplus-${_pkgver}"
make PREFIX="/usr" distrib
}
package() {
cd "AFLplusplus-${_pkgver}"
make install PREFIX="/usr" DESTDIR="${pkgdir}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment