forked from Shinonome/dots-hyprland
Rearrange for tidier structure (#2212)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# 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 `./sdata/dependencies.conf` (which has been removed now).
|
||||
|
||||
There was also a `checkdeps.sh`:
|
||||
- It checks the existence of pkgs listed in `./sdata/dependencies.conf`.
|
||||
- It somehow fixes [the problem caused by yay](https://github.com/end-4/dots-hyprland/discussions/204).
|
||||
|
||||
## Current Dependency Installation
|
||||
Local PKGBUILDs under `./sdist/arch/` are used to install dependencies.
|
||||
|
||||
The mechanism is introduced by [Makrennel](https://github.com/Makrennel) in [PR#570](https://github.com/end-4/dots-hyprland/pull/570).
|
||||
|
||||
Why is this awesome?
|
||||
- It makes it possible to control version since some packages may involve breaking changes from time to time.
|
||||
- It makes the dependency trackable for package manager, so that you always know why you have installed some package.
|
||||
- As a result, it enables a workable `uninstall.sh` script.
|
||||
|
||||
The PKGBUILDs contains two forms of dependencies:
|
||||
- Package name written in dependencies, like a "meta" package.
|
||||
- Normal PKGBUILD content to build dependencies, e.g. AGS, which is often for version controlling.
|
||||
Reference in New Issue
Block a user