Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:project:sources [2019/09/08 22:33] emulatorman |
en:project:sources [2022/03/08 03:00] (current) i3_relativism ↷ Links adapted because of a move operation |
||
---|---|---|---|
Line 2: | Line 2: | ||
Hyperbola Project offers several sources services for users who wish build Hyperbola from scratch. | Hyperbola Project offers several sources services for users who wish build Hyperbola from scratch. | ||
- | |||
- | |||
- | <note tip>It is recommended to use libretools to compile these sources from a clean chroot environment. | ||
- | <code bash> | ||
- | # pacman -S libretools | ||
- | </ | ||
- | Navigate to your desired extracted source tarball | ||
- | <code bash> | ||
- | # librechroot make | ||
- | </ | ||
- | Install compiled package when build is completed | ||
- | <code bash> | ||
- | # pacman -U [pkgname].pkg.tar.xz | ||
- | </ | ||
- | </ | ||
===== Package Sources Repositories ===== | ===== Package Sources Repositories ===== | ||
Line 44: | Line 29: | ||
| USA | | USA | ||
| [[https:// | | [[https:// | ||
+ | |- | ||
+ | | {{: | ||
+ | | Netherlands | ||
+ | | [[https:// | ||
|- | |- | ||
| {{: | | {{: | ||
Line 79: | Line 68: | ||
|} | |} | ||
|} | |} | ||
+ | |||
+ | ==== Build procedure ==== | ||
+ | |||
+ | It is recommended to use libretools to compile these sources from a clean chroot environment. | ||
+ | |||
+ | <code bash> | ||
+ | # pacman -S libretools | ||
+ | </ | ||
+ | |||
+ | <note tip> | ||
+ | See the [[https:// | ||
+ | </ | ||
+ | |||
+ | Download manually the source tarball and signature from [[en: | ||
+ | |||
+ | <code bash> | ||
+ | $ wget " | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | $ wget " | ||
+ | </ | ||
+ | |||
+ | Verify the authenticity of the source tarball. | ||
+ | |||
+ | <code bash> | ||
+ | $ gpg --verify [package_name]-[version]-[release].src.tar.gz.sig | ||
+ | </ | ||
+ | |||
+ | <note tip> | ||
+ | If gpg complains about the key ID, try the following commands instead: | ||
+ | |||
+ | <code bash> | ||
+ | $ gpg --keyserver pgp.mit.edu --recv-key [key ID] | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | $ gpg --list-key --with-fingerprint [key ID] | ||
+ | </ | ||
+ | |||
+ | Check the output of the last command, to make sure the fingerprint is correct. | ||
+ | </ | ||
+ | |||
+ | Extract and navigate to your desired extracted source tarball. | ||
+ | |||
+ | <code bash> | ||
+ | $ mkdir foo | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | $ bsdtar xpf [package_name]-[version]-[release].src.tar.gz -C foo | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | $ cd foo | ||
+ | </ | ||
+ | |||
+ | Build the desired extracted source tarball | ||
+ | |||
+ | <code bash> | ||
+ | $ doas libremakepkg | ||
+ | </ | ||
+ | |||
+ | <note warning> | ||
+ | Using su would not work with libremakepkg. | ||
+ | </ | ||
+ | |||
+ | Install the compiled package when build is completed | ||
+ | |||
+ | <code bash> | ||
+ | # pacman -U [package_name]-[version]-[release]-[architecture].pkg.tar.xz | ||
+ | </ | ||
===== Other Sources ===== | ===== Other Sources ===== |