Files
2026-06-05 14:49:57 +08:00
..
2025-10-26 21:27:41 +08:00
2026-05-29 13:46:40 +08:00
2025-11-14 09:19:20 +08:00

Install scripts for Arch Linux

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 from PKGBUILD cuz it will modify the PKGBUILD which is tracked by Git and should not be modified during building.