diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..5722de2ce 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,6 @@ # Install scripts for Arch Linux +- See also [Install scripts | illogical-impulse](https://ii.clsty.link/en/dev/inst-script/) + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). diff --git a/dist-arch/install-deps.sh b/dist-arch/install-deps.sh index fabdb3cc1..7127a9a94 100644 --- a/dist-arch/install-deps.sh +++ b/dist-arch/install-deps.sh @@ -64,8 +64,12 @@ install-local-pkgbuild() { source ./PKGBUILD x yay -S --sudoloop $installflags --asdeps "${depends[@]}" + # man makepkg: + # -A, --ignorearch: Ignore a missing or incomplete arch field in the build script. + # -s, --syncdeps: Install missing dependencies using pacman. When build-time or run-time dependencies are not found, pacman will try to resolve them. + # -i, --install: Install or upgrade the package after a successful build using pacman(8). + # In https://github.com/end-4/dots-hyprland/issues/823#issuecomment-3394774645 it's suggested to use `sudo pacman -U --noconfirm *.pkg.tar.zst` instead of `makepkg -i`, however it's possible that multiple *.pkg.tar.zst exist, which makes this command not reliable. x makepkg -Asi --noconfirm - x popd } diff --git a/dist-gentoo/README.md b/dist-gentoo/README.md index f57ad6aaf..3a41fbb24 100644 --- a/dist-gentoo/README.md +++ b/dist-gentoo/README.md @@ -5,6 +5,7 @@ Note: - This folder should reflect the equivalents of `/dist-arch/` but under Gentoo. - **When `/dist-arch/` is newer than this folder, an update on this folder is very likely needed.** - Useful link: [Commit history on dist-arch/](https://github.com/end-4/dots-hyprland/commits/main/dist-arch) +- See also [Install scripts | illogical-impulse](https://ii.clsty.link/en/dev/inst-script/) ## Contributors - Author: [jwihardi](https://github.com/jwihardi)