mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 03:50:44 +01:00
Co-authored-by: grialion <48643945+grialion@users.noreply.github.com> - Fix license ambiguity (#88) - just the only/or-later ambiguity point, not adding SPDX identifyiers unless more people request it - Better document kmscon (#91) - Make 2.0.0 already to close #86 - Add a changelog - Add packagers info (acutally just add them to install guide) - Add AUR service packages (I'll take care of systemd and dinit, let others package the rest and leave systemd open for someone who actually uses it in docs) - Make sure all makefile installs to `/usr/local` by default - Simplify Makefile complexity by several orders
23 lines
455 B
Bash
Executable File
23 lines
455 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
MYSELF=$(realpath "$0")
|
|
MYDIR=$(dirname "$MYSELF")
|
|
|
|
cd "$MYDIR"
|
|
typeset -a pkgs=(lidm{,-git,-bin,-systemd,-dinit})
|
|
|
|
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
|