mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 06:15:03 +02:00
fix(aur): package testing script
This commit is contained in:
parent
bc8b1104c0
commit
93f007691e
@ -5,8 +5,14 @@ MYSELF=$(realpath "$0")
|
||||
MYDIR=$(dirname "$MYSELF")
|
||||
|
||||
for pkg in "$MYDIR"/*/; do
|
||||
cd "$pkg"
|
||||
printf "\x1b[1mEntering '%s'\x1b[0m\n" "$pkg"
|
||||
cd "$pkg"
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
source "PKGBUILD"
|
||||
for source in "${source[@]}"; do
|
||||
awk -F'::' '{print $1}' <<<"$source" | xargs rm -rf
|
||||
done
|
||||
|
||||
rm -rf ./*.{gz,zst} src pkg
|
||||
makepkg -f .
|
||||
|
Loading…
x
Reference in New Issue
Block a user