From a05c2030e8e23c4ad4e5b31157fc021664627d8e Mon Sep 17 00:00:00 2001 From: nevaforget Date: Thu, 26 Mar 2026 15:49:37 +0100 Subject: [PATCH] Clean dist/ before wheel build to prevent stale artifacts Version bumps leave old wheels in dist/, causing the glob to expand to multiple files and python-installer to fail. --- pkg/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/PKGBUILD b/pkg/PKGBUILD index 4c2d335..3479920 100644 --- a/pkg/PKGBUILD +++ b/pkg/PKGBUILD @@ -4,7 +4,7 @@ # Maintainer: Dominik Kressler pkgname=moonlock-git -pkgver=0.0.0.r9.b365572 +pkgver=0.1.1.r0.g22f725e pkgrel=1 pkgdesc="A secure Wayland lockscreen with GTK4, PAM and fingerprint support" arch=('any') @@ -38,6 +38,7 @@ pkgver() { build() { cd "$srcdir/moonlock" + rm -rf dist/ python -m build --wheel --no-isolation }