From a0c14617cc3f267b50b831bbdcb61787ee53d302 Mon Sep 17 00:00:00 2001 From: goodroot Date: Sat, 6 Sep 2025 15:26:32 -0700 Subject: [PATCH] Revert to original working cp command - Changed back from specific file copying to cp -r . approach - This was the working approach before our changes - Fixes the system file permission errors in AUR builds --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 2c9b006de22a..a8832062e410 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -45,8 +45,8 @@ package() { # Create installation directory install -dm755 "${pkgdir}/opt/${pkgname}" - # Copy only the source files (exclude system files) - cp -r bin config lib scripts share requirements.txt README.md LICENSE "${pkgdir}/opt/${pkgname}/" + # Copy all source files to /opt/hyprwhspr + cp -r . "${pkgdir}/opt/${pkgname}/" # Make scripts executable chmod +x "${pkgdir}/opt/${pkgname}/scripts/"*.sh