Skip to content
Snippets Groups Projects
Commit 42f61f30 authored by 6543's avatar 6543 Committed by Patrycja Rosa
Browse files

testing/batmon: new aport

parent 1e948467
No related branches found
No related tags found
1 merge request!67507testing/batmon: new aport
Pipeline #241921 canceled
# Contributor: 6543 <6543@obermui.de>
# Maintainer: 6543 <6543@obermui.de>
pkgname=batmon
pkgver=0.0.1
pkgrel=0
pkgdesc="An interactive viewer, similar to top, htop and other *top utilities, but about the batteries installed in your notebook."
url="https://crates.io/crates/batmon"
arch="all !s390x"
license="Apache-2.0"
makedepends="
cargo
cargo-auditable
"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/6543/batmon/archive/refs/tags/v$pkgver.tar.gz"
export CARGO_PROFILE_RELEASE_OPT_LEVEL="z"
build() {
cargo auditable build --release
}
check() {
cargo test
}
package() {
install -Dm755 target/release/batmon "$pkgdir"/usr/bin/batmon
}
sha512sums="
2c365a90a6b949cb74a0e3e8e5eff5f77db36b93e4008226703daf9b1a55737ab62f7214d8a908a6966ce3daeb2b2d7bc2e30d11f66380111ec741576f49a69e batmon-0.0.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment