mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-06 08:22:28 +01:00
30 lines
849 B
Plaintext
30 lines
849 B
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=grcov
|
|
pkgver=0.8.0
|
|
pkgrel=0
|
|
pkgdesc="Rust tool to collect and aggregate code coverage data"
|
|
url="https://github.com/eqrion/cbindgen"
|
|
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # Limited by cargo
|
|
license="MPL-2.0"
|
|
depends="gcc" # gcov
|
|
makedepends="cargo"
|
|
options="!check" # Failing due to utf-8 (locale?)
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mozilla/grcov/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cargo build --release --locked --verbose
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --locked --verbose
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 target/release/grcov -t "$pkgdir"/usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
25ce33b1ce89b9c40f425a17db189ac775ac3db62fe1e7dd37a5ab88d0cc399355cb3cd121aa7eb877bb03f4c14c63530e1912fea678acd604378ae6ff460c01 grcov-0.8.0.tar.gz
|
|
"
|