mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
24 lines
1.2 KiB
Markdown
24 lines
1.2 KiB
Markdown
# 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).
|
|
|
|
## Current Dependency Installation
|
|
Local PKGBUILDs under `./sdata/dist-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 process.
|
|
|
|
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.
|
|
|
|
## Note
|
|
- `pkgver()` should be removed from `PKGBUILD` cuz it will modify the `PKGBUILD` which is tracked by Git and should not be modified during building.
|