Files
omarchy-pkgs/bin
Ryan Hughes d673d67a1c Read PKGBUILD variables with CARCH set and refuse to queue a package whose version cannot be read
makepkg always exports CARCH, so PKGBUILDs may branch on it at file
scope. Every place the tooling sourced a PKGBUILD did so without CARCH,
taking the wrong branch or aborting partway, and check-versions turned
the resulting empty pkgver/pkgrel into the version '-', which never
matches a published version and queues an endless rebuild.

package_pkgbuild_var reads one variable the way makepkg would see it,
for the architecture being checked, and reports whether the source
succeeded. check-versions, sync-rebuilds and omarchy-pkgs use it.
check-versions now warns and skips a package whose pkgver or pkgrel is
empty instead of comparing a partial version. A self-test covers a
PKGBUILD that branches on CARCH before assigning its version.
2026-09-05 16:59:22 -04:00
..
2026-09-04 23:40:49 -04:00
2026-09-04 23:40:49 -04:00
2026-09-04 23:40:49 -04:00
2026-05-08 01:04:52 -04:00
2026-09-04 23:40:49 -04:00
2026-09-04 23:40:49 -04:00
2026-09-04 23:40:49 -04:00
2026-09-04 23:40:49 -04:00