From 82e782ee1c866181ade091a52aa8a9e496806f0f Mon Sep 17 00:00:00 2001 From: reedts Date: Sat, 4 Mar 2023 15:53:23 +0100 Subject: [PATCH 1/2] New package: cargo-flamegraph-0.6.2 --- srcpkgs/cargo-flamegraph/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/cargo-flamegraph/template diff --git a/srcpkgs/cargo-flamegraph/template b/srcpkgs/cargo-flamegraph/template new file mode 100644 index 000000000000..fdab6010dbc6 --- /dev/null +++ b/srcpkgs/cargo-flamegraph/template @@ -0,0 +1,16 @@ +# Template file for 'cargo-flamegraph' +pkgname=cargo-flamegraph +version=0.6.2 +revision=1 +build_style=cargo +depends="perf" +short_desc="Easy flamegraphs for Rust projects and everything else" +maintainer="reedts " +license="MIT, Apache-2.0" +homepage="https://github.com/flamegraph-rs/flamegraph" +distfiles="https://github.com/flamegraph-rs/flamegraph/archive/v${version}/${pkgname}-${version}.tar.gz" +checksum=ec9626f8bc6e52b4c6ebbd5b35ac87f0e17e70ac1fd9eb5f26a8d7dd898f7911 + +post_install() { + vlicense LICENSE-MIT +} From e5db215045c8b0a567dfd2a44d4f1fb3b151880f Mon Sep 17 00:00:00 2001 From: Julian Bigge Date: Sat, 4 Mar 2023 16:52:29 +0100 Subject: [PATCH 2/2] update distfiles URL Co-authored-by: Marcin Puc --- srcpkgs/cargo-flamegraph/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/cargo-flamegraph/template b/srcpkgs/cargo-flamegraph/template index fdab6010dbc6..b817ad8621d3 100644 --- a/srcpkgs/cargo-flamegraph/template +++ b/srcpkgs/cargo-flamegraph/template @@ -8,7 +8,7 @@ short_desc="Easy flamegraphs for Rust projects and everything else" maintainer="reedts " license="MIT, Apache-2.0" homepage="https://github.com/flamegraph-rs/flamegraph" -distfiles="https://github.com/flamegraph-rs/flamegraph/archive/v${version}/${pkgname}-${version}.tar.gz" +distfiles="https://github.com/flamegraph-rs/flamegraph/archive/refs/tags/v${version}.tar.gz" checksum=ec9626f8bc6e52b4c6ebbd5b35ac87f0e17e70ac1fd9eb5f26a8d7dd898f7911 post_install() {