[arch-commits] Commit in cargo-tarpaulin (3 files)

Maxime Gauduin alucryd at archlinux.org
Mon Sep 7 10:02:23 UTC 2020


    Date: Monday, September 7, 2020 @ 10:02:23
  Author: alucryd
Revision: 699527

archrelease: copy trunk to community-x86_64

Added:
  cargo-tarpaulin/repos/
  cargo-tarpaulin/repos/community-x86_64/
  cargo-tarpaulin/repos/community-x86_64/PKGBUILD
    (from rev 699526, cargo-tarpaulin/trunk/PKGBUILD)

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

Copied: cargo-tarpaulin/repos/community-x86_64/PKGBUILD (from rev 699526, cargo-tarpaulin/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-09-07 10:02:23 UTC (rev 699527)
@@ -0,0 +1,53 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=cargo-tarpaulin
+pkgver=0.14.3
+pkgrel=1
+pkgdesc='Tool to analyse test coverage of cargo projects'
+arch=(x86_64)
+url=https://github.com/xd009642/tarpaulin
+license=(Apache)
+depends=(
+  gcc-libs
+  glibc
+  libcurl.so
+  openssl
+  zlib
+)
+makedepends=(
+  git
+  rust
+)
+_tag=039a1c5286443a3703f0b489b435388cc932c7f6
+source=(git+https://github.com/xd009642/tarpaulin.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd tarpaulin
+
+  git describe --tags
+}
+
+prepare() {
+  cargo fetch \
+    --locked \
+    --manifest-path tarpaulin/Cargo.toml
+}
+
+build() {
+  cargo build \
+    --release \
+    --frozen \
+    --manifest-path tarpaulin/Cargo.toml
+}
+
+package() {
+  cargo install \
+    --frozen \
+    --offline \
+    --no-track \
+    --path tarpaulin \
+    --root "${pkgdir}"/usr
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list