Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
332b9769
Commit
332b9769
authored
3 months ago
by
qaqland
Committed by
Natanael Copa
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/cargo-flamegraph: new aport
parent
c60e995f
No related branches found
No related tags found
2 merge requests
!79570
community/firefox-esr: upgrade to 128.7.0
,
!77669
testing/cargo-flamegraph: new aport
Pipeline
#290199
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/cargo-flamegraph/APKBUILD
+49
-0
49 additions, 0 deletions
testing/cargo-flamegraph/APKBUILD
with
49 additions
and
0 deletions
testing/cargo-flamegraph/APKBUILD
0 → 100644
+
49
−
0
View file @
332b9769
maintainer
=
"qaqland <qaq@qaq.land>"
pkgname
=
cargo-flamegraph
pkgver
=
0.6.7
pkgrel
=
0
pkgdesc
=
"Easy flamegraphs for Rust projects and everything else, without Perl or pipes"
url
=
"https://github.com/flamegraph-rs/flamegraph"
arch
=
"all"
license
=
"MIT OR Apache-2.0"
depends
=
"perf"
makedepends
=
"cargo cargo-auditable"
subpackages
=
"
$pkgname
-doc
$pkgname
-bash-completion
$pkgname
-fish-completion
$pkgname
-zsh-completion
"
source
=
"https://github.com/flamegraph-rs/flamegraph/archive/v
$pkgver
/cargo-flamegraph-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/flamegraph-
$pkgver
"
options
=
"net !check"
# cargo fetch; upstream no check
prepare
()
{
default_prepare
cargo fetch
--target
=
"
$CTARGET
"
--locked
}
build
()
{
cargo auditable build
--frozen
--release
target/release/flamegraph
--completions
bash
>
flamegraph
target/release/flamegraph
--completions
fish
>
flamegraph.fish
target/release/flamegraph
--completions
zsh
>
_flamegraph
}
package
()
{
install
-Dm755
target/release/flamegraph
-t
"
$pkgdir
"
/usr/bin
install
-Dm755
target/release/cargo-flamegraph
-t
"
$pkgdir
"
/usr/bin
install
-Dm644
README.md
-t
"
$pkgdir
"
/usr/share/doc/
$pkgname
install
-Dm644
LICENSE-MIT LICENSE-APACHE
-t
"
$pkgdir
"
/usr/share/licenses/
$pkgname
install
-Dm644
flamegraph
-t
"
$pkgdir
"
/usr/share/bash-completion/completions
install
-Dm644
flamegraph.fish
-t
"
$pkgdir
"
/usr/share/fish/vendor_completions.d
install
-Dm644
_flamegraph
-t
"
$pkgdir
"
/usr/share/zsh/site-functions
}
sha512sums
=
"
10b0a13d1d3f5b8953b3b0a5f75594cdb085553b5eb86b950a9458d90fee83144207f47e14a382b35827f7341fb9b4406a9f32fc87d4c514e4f782c9361a3b68 cargo-flamegraph-0.6.7.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment