Package Details: batfetch-git r30.20240808.7f3c797-1

Git Clone URL: https://aur.archlinux.org/batfetch-git.git (read-only, click to copy)
Package Base: batfetch-git
Description: A command-line tool that displays detailed information about the battery of your device in a clean and organized way.
Upstream URL: https://github.com/ashish-kus/batfetch
Licenses: GPL-3.0-or-later
Conflicts: batfetch
Provides: batfetch
Replaces: batfetch
Submitter: dreieck
Maintainer: dreieck
Last Packager: dreieck
Votes: 0
Popularity: 0.000000
First Submitted: 2025-03-04 22:30 (UTC)
Last Updated: 2025-03-04 22:30 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2024-03-17 13:34 (UTC) (edited on 2025-02-09 14:30 (UTC) by dreieck)

can you help how to fix this.

It should all be documented in the Arch Wiki.

.SRCINFO: After each change to PKGBUILD you need to run:

makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO PKGBUILD

Renaming:

Create a new package with the new name, then go here to the old package and submit a merge request that batfetch should be merged into batfetch-git.

While creating the new package, do not forget to add

  • provides=("batfetch"),
  • conflicts=("batfetch"),
  • replaces=("batfetch<=r25") (or what ever the latest version is at the time of creation of batfetch-git).

Regards!

AshishKushwaha commented on 2023-07-30 19:52 (UTC)

can you help how to fix this.

dreieck commented on 2023-07-23 12:07 (UTC) (edited on 2023-07-23 12:08 (UTC) by dreieck)

$pkgver in the PKGBUILD (= r7.8f742df) and here in the AUR (= 1) differ.

Maybe you forgot to rebuild .SRCINFO before uploading?

It confuses check for updates.

Please fix. Thanks for maintaining!

dreieck commented on 2023-07-15 09:15 (UTC) (edited on 2023-07-16 10:04 (UTC) by dreieck)

$pkgver here in the AUR metadata is higher (1) than that one generated by ‌pkgver() (r13.df3ea72‌). This breaks update detection by AUR wrappers, e.g. ‌yay, which continuously wants to upgrade batfetch because the AUR says there is a newer version available which in the end is not.

Please push with a real ‌$pkgver. No problem if AUR $pkgver stays behind if you rename the package to ‌batfetch-git.

Regards and thanks for maintaining!