[arch-commits] Commit in cargo-fuzz/repos (community-x86_64 community-x86_64/PKGBUILD)

Kpcyrd kpcyrd at archlinux.org
Mon Dec 9 02:46:10 UTC 2019


    Date: Monday, December 9, 2019 @ 02:46:10
  Author: kpcyrd
Revision: 536379

archrelease: copy trunk to community-x86_64

Added:
  cargo-fuzz/repos/community-x86_64/
  cargo-fuzz/repos/community-x86_64/PKGBUILD
    (from rev 536378, cargo-fuzz/trunk/PKGBUILD)

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

Copied: cargo-fuzz/repos/community-x86_64/PKGBUILD (from rev 536378, cargo-fuzz/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-12-09 02:46:10 UTC (rev 536379)
@@ -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