mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
* fix(pkg,aur): sources now are version unique * build: allow to override git-rev and timestamp build info * chore: organize and parallelize some checks * chore: make standard PKGBUIDLs * pkg(aur): `-bin` only has to depend on the `.so` file * pkg(feat,aur): multiarch `-bin` pkg * ci(void): update xbps first, add warning * pkg(aur): bump pkgrels * pkg(aur): pkgrel again AND `.SRCINFO` finally --------- Co-authored-by: grialion <48643945+grialion@users.noreply.github.com>
23 lines
439 B
Bash
Executable File
23 lines
439 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
MYSELF=$(realpath "$0")
|
|
MYDIR=$(dirname "$MYSELF")
|
|
|
|
cd "$MYDIR"
|
|
typeset -a pkgs=(lidm{,-git,-bin})
|
|
|
|
for pkg in "${pkgs[@]}"; do
|
|
printf "\x1b[mEntering '%s'\x1b[0m\n" "$pkg"
|
|
cd "$pkg"
|
|
# shellcheck disable=SC1091
|
|
source PKGBUILD
|
|
# shellcheck disable=SC2154
|
|
for f in "${source[@]}"; do
|
|
echo "$f"
|
|
awk -F:: '{print $1}' <<<"$f" | xargs rm -rf
|
|
done
|
|
cd ..
|
|
echo
|
|
done
|