@yrif @nperry thanks for reporting and the patch! I can't reproduce the error. I tried yay and paru from an Arch WSL.
Can you still observe that behavior?
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/wl-clipboard-git.git (read-only, click to copy) |
|---|---|
| Package Base: | wl-clipboard-git |
| Description: | Command-line copy/paste utilities for Wayland |
| Upstream URL: | https://github.com/bugaevc/wl-clipboard |
| Licenses: | GPL |
| Conflicts: | wl-clipboard |
| Provides: | wl-clipboard |
| Submitter: | adabru |
| Maintainer: | l3afyb0y |
| Last Packager: | l3afyb0y |
| Votes: | 13 |
| Popularity: | 0.000454 |
| First Submitted: | 2018-11-07 08:50 (UTC) |
| Last Updated: | 2026-01-22 15:00 (UTC) |
@yrif @nperry thanks for reporting and the patch! I can't reproduce the error. I tried yay and paru from an Arch WSL.
Can you still observe that behavior?
@nperry: this patch fixed it for me
diff --git a/PKGBUILD b/PKGBUILD
index efbc43c..8795668 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --tags --abbrev=10 HEAD |
- sed 's/^v//; s/-/+/; s/-/./'
+ sed 's/^v//; s/-/+/; s/-/./; s/-/+/'
}
build() {
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 2.2.0+rc1.1-g61d5fa34b4
Hi @Mel, thanks for commenting and reporting the issue! I bumped the version to 2.0.0 . Hopefully that will solve the issue.
wl-clipboard recently hit 2.0 version, could you please bump the git version because it falsely pops up as an upgrade option every time:
==> Using [loonix] repository
-> wl-clipboard-git: 2.0.0-1 -> 2.0.0_beta2+5.ga60a0a468c-2
==> Retrieving package files
From https://aur.archlinux.org/wl-clipboard-git
= [up to date] master -> origin/master
==> WARNING: skipping built package (use -f to overwrite)
/var/cache/pacman/loonix/wl-clipboard-git-2.0.0-1-x86_64.pkg.tar
@adabru: thanks! I just updated the pkgver() function :)
Hi @lace, thanks for offering your help and contributing! I added you as co-maintainer so you can apply the change you propose.
@adabru: could you update this package to be compatible with wl-clipboard with regards to its version numbers?
Adding the following to your PKGBUILD should be enough:
pkgver() {
cd wl-clipboard
git describe --tags --abbrev=10 HEAD | sed 's/^v//; s/-/+/; s/-/./'
}
I'm happy to be added as a co-maintainer if you want :)