Clean up page a bit (Content unchanged)

This commit is contained in:
exu 2023-11-09 20:06:51 +01:00
parent 30bf5f9fa7
commit 67e6d374f5

View File

@ -8,22 +8,58 @@ visible: true
_TODO:_ patching
https://wiki.archlinux.org/index.php?title=Patching_packages&useskinversion=1
Get hashsums:
`$ makepkg -g`
Get hashsums:
Build package:
`$ makepkg`
[shuser]
```
makepkg -g
```
[/shuser]
Build package:
[shuser]
```
makepkg
```
[/shuser]
Build package with AUR dependencies:
_Officially, AUR-helpers are not recommended and AUR-dependencies should be downloaded manually_
`$ paru -U`
Afterwards install with `$ paru -U <package>.tar.zst`
_Officially, AUR-helpers are not recommended and AUR-dependencies should be downloaded manually_
Install dependencies:
`$ makepkg -s`
[shuser]
Install package after successful build:
`$ makepkg -i`
```
paru -U
```
[/shuser]
Afterwards install with `paru -U <package>.tar.zst`
Install dependencies:
[shuser]
```
makepkg -s
```
[/shuser]
Install package after successful build:
[shuser]
```
makepkg -i
```
[/shuser]
Just extract package and run `prepare()`
`--nobuild`
@ -31,8 +67,15 @@ Just extract package and run `prepare()`
Don't extract package and don't run `prepare()`
`--noextract`
Create SRCINFO
`$ makepkg --printsrcinfo > .SRCINFO`
Create SRCINFO
[shuser]
```
makepkg --printsrcinfo > .SRCINFO
```
[/shuser]
Using paru to build package in clean chroot for testing
https://old.reddit.com/r/archlinux/comments/tkeuy5/using_paru_u_chroot_to_build_a_pkgbuild_in_a/