[arch-commits] Commit in afl-utils/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 09:12:43 UTC 2019


    Date: Monday, November 4, 2019 @ 09:12:42
  Author: felixonmars
Revision: 523842

archrelease: copy trunk to community-staging-any

Added:
  afl-utils/repos/community-staging-any/
  afl-utils/repos/community-staging-any/PKGBUILD
    (from rev 523841, afl-utils/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: afl-utils/repos/community-staging-any/PKGBUILD (from rev 523841, afl-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 09:12:42 UTC (rev 523842)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=afl-utils
+pkgver=1.34a
+pkgrel=2
+pkgdesc='Utilities for automated crash sample processing/analysis, easy afl-fuzz job management and corpus optimization'
+url='https://github.com/rc0r/afl-utils'
+arch=('any')
+license=('Apache')
+depends=('afl' 'coreutils' 'python' 'rsync')
+optdepends=('sqlite: database support'
+            'screen: interactive/screen mode support'
+            'gdb: gdb script execution support')
+makedepends=('python-setuptools')
+source=(${pkgname}-${pkgver}.tar.gz::https://gitlab.com/rc0r/afl-utils/-/archive/v${pkgver}/afl-utils-v${pkgver}.tar.gz)
+sha256sums=('8ec99f4832a80400a0457612af487bb430ca4a53a17f63f9f8d72af03d97ab96')
+sha512sums=('d65ecaf022641cffe8466c1d47d5b14455c41c42f5604c2ee50dbe35a044a80d07931bc8b99192b4ad5ef4464e9bb3e9f05dfff195943b37435142dc6abcd1af')
+
+build() {
+  cd ${pkgname}-v${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${pkgname}-v${pkgver}
+  python setup.py install -O1 --root="${pkgdir}"
+  rm -rf "${pkgdir}"/usr/lib/python*/site-packages/tests
+  install -Dm 644 README.md docs/CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 config/* -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list