Sorry, sorry, my bad. In your case, the correct pkgver() would be:
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
At any rate, your .SCRINFO info is corrupted, because it claims its version to be 2016.07.14, while in reality is 2016.07.02. As a result, the AUR helpers constantly think the package is out of date.
Could you fix these two things, please?
Search Criteria
Package Details: fsearch-git 0.2.3.r185.gd4ff61a-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/fsearch-git.git (read-only, click to copy) |
---|---|
Package Base: | fsearch-git |
Description: | A fast graphical file search utility |
Upstream URL: | https://github.com/cboxdoerfer/fsearch |
Keywords: | search |
Licenses: | GPL-2.0-or-later |
Conflicts: | fsearch |
Provides: | fsearch |
Submitter: | wander |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 60 |
Popularity: | 0.067418 |
First Submitted: | 2016-05-31 16:28 (UTC) |
Last Updated: | 2024-08-26 02:37 (UTC) |
Dependencies (6)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libicuuc.so (icu-gitAUR, icu73AUR, icu63AUR, icu74AUR, icu75AUR, icu, lib32-icu)
- pcre2 (pcre2-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- itstool (make)
- meson (meson-gitAUR) (make)
Required by (0)
Sources (1)
GordonGR commented on 2016-07-22 17:32 (UTC)
GordonGR commented on 2016-07-18 13:33 (UTC)
Your pkgver() isn't working well. According to the wiki [1], it should be:
pkgver() {
cd "$pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
[1] https://wiki.archlinux.org/index.php/VCS_package_guidelines
Pinned Comments
xiota commented on 2025-02-20 19:16 (UTC) (edited on 2025-02-20 19:18 (UTC) by xiota)
When
pacman
reports a library mismatch, rebuild after forcing update withpacman -Syudd
. Consider building in a clean chroot.