[arch-commits] Commit in (4 files)

Kpcyrd kpcyrd at archlinux.org
Mon Dec 9 02:45:55 UTC 2019


    Date: Monday, December 9, 2019 @ 02:45:55
  Author: kpcyrd
Revision: 536378

addpkg: cargo-fuzz 0.5.5-1

Added:
  cargo-fuzz/
  cargo-fuzz/repos/
  cargo-fuzz/trunk/
  cargo-fuzz/trunk/PKGBUILD

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

Added: cargo-fuzz/trunk/PKGBUILD
===================================================================
--- cargo-fuzz/trunk/PKGBUILD	                        (rev 0)
+++ cargo-fuzz/trunk/PKGBUILD	2019-12-09 02:45:55 UTC (rev 536378)
@@ -0,0 +1,32 @@
+# Maintainer: kpcyrd <git at rxv.cc>
+
+pkgname=cargo-fuzz
+pkgver=0.5.5
+pkgrel=1
+pkgdesc="Command line helpers for fuzzing rust"
+url="https://github.com/rust-fuzz/cargo-fuzz"
+depends=('cargo')
+arch=('x86_64')
+license=('MIT' 'APACHE')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rust-fuzz/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('2b006306bc62524b892f64f9ac4da1b565655597aa46fea9c6247e996542243bebad0f9d797c6460202fecdc09ddbf5175ec20f0a9925f5411e107fe619c3c9b')
+b2sums=('327196d0017f6a85cc71adf58164973c82fba9b31423720eac753933c3f1ab3fa4c21f97c0f7819d95064dd889d6e4932294f5bf4766cc579888997efd6b4733')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cargo build --release --locked
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  cargo test --release --locked
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list