mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
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:
15
assets/pkg/aur/test-makepkg.sh
Executable file
15
assets/pkg/aur/test-makepkg.sh
Executable 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
|
Reference in New Issue
Block a user