The pkgver() function is out of date. I suggest this instead:
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
See https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/yofi-git.git (read-only, click to copy) |
|---|---|
| Package Base: | yofi-git |
| Description: | Minimalistic menu for Wayland-based compositors |
| Upstream URL: | https://github.com/l4l/yofi |
| Licenses: | MIT |
| Provides: | yofi |
| Submitter: | Kitsu |
| Maintainer: | Kitsu |
| Last Packager: | Kitsu |
| Votes: | 2 |
| Popularity: | 0.000000 |
| First Submitted: | 2020-12-02 07:32 (UTC) |
| Last Updated: | 2021-02-19 10:15 (UTC) |
The pkgver() function is out of date. I suggest this instead:
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
See https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git