summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bfada4cb781a06ac5a508c9515e06ec62b36795 (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: a821
# Contributor: Emil Edholm <emil@edholm.it>

pkgname=honggfuzz-git
pkgver=2.6.r11.g4856852e
pkgrel=1
pkgdesc="Security oriented, feedback-driven, evolutionary, easy-to-use fuzzer"
arch=('x86_64')
url="https://honggfuzz.dev"
license=('Apache')
depends=('binutils' 'libunwind')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+https://github.com/google/honggfuzz.git")
md5sums=('SKIP')

pkgver() {
    git -C "$pkgname" describe --tags | sed -e 's/-/.r/;s/-/./g'
}

build() {
    unset CFLAGS
    make -C "$pkgname"
}

package() {
    make -C "$pkgname" DESTDIR="$pkgdir" PREFIX=/usr install
}

# vim: set ts=4 sw=4 et: