Package Details: batfetch r16.fb18d8d-1

Git Clone URL: https://aur.archlinux.org/batfetch.git (read-only, click to copy)
Package Base: batfetch
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
Keywords: batfetch battery fetch information script
Licenses: GPL
Conflicts: batfetch
Provides: batfetch
Submitter: AshishKushwaha
Maintainer: AshishKushwaha
Last Packager: AshishKushwaha
Votes: 0
Popularity: 0.000000
First Submitted: 2023-04-20 11:41 (UTC)
Last Updated: 2023-07-30 23:33 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2024-03-17 13:34 (UTC)

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!

dreieck commented on 2023-07-13 15:35 (UTC)

You download the latest state from a git repository.

So you must rename your package to batfetch-git.

Thanks for maintaining!