mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
bfad75c93a
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
Install scripts for Arch Linux
- See also Install scripts | illogical-impulse
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 in PR#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 fromPKGBUILDcuz it will modify thePKGBUILDwhich is tracked by Git and should not be modified during building.