Package Details: battop 0.2.4-1

Git Clone URL: https://aur.archlinux.org/battop.git (read-only, click to copy)
Package Base: battop
Description: Interactive batteries viewer
Upstream URL: https://github.com/svartalf/rust-battop
Keywords: battery monitoring
Licenses: MIT, Apache,
Submitter: svartalf_info
Maintainer: svartalf_info
Last Packager: svartalf_info
Votes: 3
Popularity: 0.000001
First Submitted: 2019-03-13 20:23
Last Updated: 2019-06-04 14:03

Latest Comments

arglebargle commented on 2021-05-21 12:54

Just a heads up, 0.2.4-1 fails to build now thanks to changes in either the battery or uom crates.

Bumping to battery >= 0.7.5 will get the build moving again:

diff --git a/PKGBUILD b/PKGBUILD
index e696128..c4bf378 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,11 @@ sha512sums=('f5744a8ddcfe09f2547494d2a6e1b184b967c5e4439c7bd3d74e47a1579dc86192a

 build() {
   cd "rust-$pkgname-$pkgver"
+  
+  # build fails with battery crate version < 0.7.5
+  sed -i 's/battery = "^0.7"/battery = "^0.7.5"/' Cargo.toml

-  cargo build --release --locked
+  cargo build --release
 }

 package_battop() {

simona commented on 2020-08-03 11:47

error: no override and no default toolchain set