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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:04:33 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:04:33
  Author: felixonmars
Revision: 752226

archrelease: copy trunk to community-staging-any

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

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

Copied: afl-utils/repos/community-staging-any/PKGBUILD (from rev 752224, afl-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:04:33 UTC (rev 752226)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=afl-utils
+pkgver=1.34a
+pkgrel=4
+pkgdesc='Utilities for automated crash sample processing/analysis, easy afl-fuzz job management and corpus optimization'
+url='https://gitlab.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