archrelease: copy trunk to community-any
[ArchLinux/community.git] / zzuf / trunk / PKGBUILD
blob5676764ddc56daffd4bb689e9c32b1ab64c12e48
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Mariusz Libera <mariusz.libera@gmail.com>
3 # Contributor: Pranay Kanwar <pranay.kanwar@gmail.com>
5 pkgname=zzuf
6 pkgver=0.15
7 pkgrel=3
8 pkgdesc='Transparent application input fuzzer'
9 url='https://github.com/samhocevar/zzuf'
10 arch=('x86_64')
11 license=('custom:WTF')
12 depends=('glibc')
13 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/samhocevar/zzuf/archive/v${pkgver}.tar.gz)
14 sha256sums=('8886e90f9a7b48ff77836e270da1a86ffeb844e99da6e52e656d4dabf12d2680')
15 sha512sums=('7eb67b3531ceec68ec9cac2d3c7f5212dcf63a3bd706bd9d40e9b7f762e8f0e225606a9de4e13826ce20d0e385205720dcc40a5745f52eede67ffe2a8c9e5a20')
17 prepare() {
18   cd ${pkgname}-${pkgver}
19   autoreconf -fiv
22 build() {
23   cd ${pkgname}-${pkgver}
24   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
25     ./configure --prefix=/usr
26   make
29 check() {
30   cd ${pkgname}-${pkgver}
31   make check
34 package() {
35   cd ${pkgname}-${pkgver}
36   make DESTDIR="${pkgdir}" install
37   install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
40 # vim: ts=2 sw=2 et: