chore: add aur makepkg build test script

and did you know that makepkg updates stuff like the -git pkg version? :o
This commit is contained in:
2024-08-29 11:31:18 +02:00
parent 0ec046740e
commit 6d85276946
2 changed files with 17 additions and 2 deletions

15
assets/pkg/aur/test-makepkg.sh Executable file
View File

@@ -0,0 +1,15 @@
#/usr/bin/env bash
set -e
MYSELF=$(realpath "$0")
MYDIR=$(dirname "$MYSELF")
for pkg in "$MYDIR"/*/; do
cd "$pkg"
printf "\x1b[1mEntering '%s'\x1b[0m\n" "$pkg"
rm -rf *.{gz,zst} src pkg
makepkg -f .
echo
done