Help with a PKGBUILD Install

Given how hard it is to set up the PinePhone Beta on Manjaro Phosh Beta 29, I’d rather not screw it up based on my inexperience.

From my basic investigation, it seems this package installs a couple of files deep in the OS to monitor correctly the power dispersal of both the internal and keyboard batteries.

I believe I understand what the actual files do, I just don’t know how to install them properly and I don’t understand how I would know even if I had installed properly.

Any help would be much appreciated.

Thank you.

It’s in our repository.

You can install it with sudo pacman -S ppkb-tools if it’s not installed already.

Thank you for your reply. How exactly would I go about installing this package?

Clone the repo and build it with makepkg.

Please see:

Download the files in that repo, then run this command in it:
makepkg -sci.

This will build and install the package and it’s dependencies.

But isn’t the package already built? Please excuse my ignorance.

If it were, there would be a .pkg.tar.zst in the repo.

1 Like

Okay: I’ve downloaded a .tar.gz and that would not be the same?

No. That’s just an archive like a .zip or a .rar.

Building ppkbbat-tools will be similar to installing any AUR package manually.

Please also see:

Thank you for your quick replies.

Success, building-wise. But an error in the actual build:

ppkbbat-d.service … FAILED

ERROR: One or more files did not pass the validity check!

2 of 3 files were skipped or passed.

(forgive the lack of code sytax; I’m typing it from another computer)

After cloning the repo before running makekg, run updpkgsums to update the checksums.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.