Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
librewolf


Commits:
d101c869 by Robin Candau at 2026-08-26T19:24:34+02:00
Drop useless cd in pkgver()

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -10,7 +10,7 @@ pkgname=librewolf
 pkgver=154.0.1_2
 # Extract the first part of the pkgver, this represents the Firefox release 
this LibreWolf release is based on
 _firefoxver="${pkgver%_*}"
-# Remove any trailing ".0" to match the real Firefox version, as "round" 
firefox releases actually doesn't contain it,
+# Remove any trailing ".0" to match the real Firefox version, as "round" 
Firefox releases actually doesn't contain it,
 # (despite what https://www.firefox.com/en-US/releases/ is showing)
 # For "155.0.0" this will result in "155.0", for "155.0.1" it won't change 
anything
 _realfirefoxver="${_firefoxver%.0}"
@@ -165,9 +165,7 @@ END
 pkgver() {
   # Ensure the pkgver is properly formatted to avoid eventual version 
comparison issues
   # See README.md for more details
-  cd librewolf-$_pkgver
   echo "$pkgver" | sed -E 's/^([0-9]+\.[0-9]+)_/\1.0_/'
-
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/librewolf/-/commit/d101c8694fe27adf4358814269432d4a2f71bf7b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/librewolf/-/commit/d101c8694fe27adf4358814269432d4a2f71bf7b
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to