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
This commit is contained in:
goodroot 2025-09-06 15:26:32 -07:00
parent 7b6a97d5ed
commit a0c14617cc

View file

@ -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