From 950e82b26c4df142af8b156b2db3438a00c21954 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Wed, 14 Jan 2026 08:38:21 -0600 Subject: [PATCH] Add build script for Arch package to handle permissions and execute makepkg --- packaging/arch/build.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 packaging/arch/build.sh diff --git a/packaging/arch/build.sh b/packaging/arch/build.sh new file mode 100755 index 0000000..80730bc --- /dev/null +++ b/packaging/arch/build.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e + +# Fix permissions for the mounted volume +sudo chown -R build:build /home/build/project + +# Navigate to the build directory +cd /home/build/project + +# Run makepkg as the build user +sudo -u build makepkg -s --noconfirm +