Clean up page a bit (Content unchanged)
This commit is contained in:
parent
30bf5f9fa7
commit
67e6d374f5
@ -9,21 +9,57 @@ _TODO:_ patching
|
|||||||
https://wiki.archlinux.org/index.php?title=Patching_packages&useskinversion=1
|
https://wiki.archlinux.org/index.php?title=Patching_packages&useskinversion=1
|
||||||
|
|
||||||
Get hashsums:
|
Get hashsums:
|
||||||
`$ makepkg -g`
|
|
||||||
|
[shuser]
|
||||||
|
|
||||||
|
```
|
||||||
|
makepkg -g
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shuser]
|
||||||
|
|
||||||
Build package:
|
Build package:
|
||||||
`$ makepkg`
|
|
||||||
|
[shuser]
|
||||||
|
|
||||||
|
```
|
||||||
|
makepkg
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shuser]
|
||||||
|
|
||||||
Build package with AUR dependencies:
|
Build package with AUR dependencies:
|
||||||
_Officially, AUR-helpers are not recommended and AUR-dependencies should be downloaded manually_
|
_Officially, AUR-helpers are not recommended and AUR-dependencies should be downloaded manually_
|
||||||
`$ paru -U`
|
|
||||||
Afterwards install with `$ paru -U <package>.tar.zst`
|
[shuser]
|
||||||
|
|
||||||
|
```
|
||||||
|
paru -U
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shuser]
|
||||||
|
|
||||||
|
Afterwards install with `paru -U <package>.tar.zst`
|
||||||
|
|
||||||
Install dependencies:
|
Install dependencies:
|
||||||
`$ makepkg -s`
|
|
||||||
|
[shuser]
|
||||||
|
|
||||||
|
```
|
||||||
|
makepkg -s
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shuser]
|
||||||
|
|
||||||
Install package after successful build:
|
Install package after successful build:
|
||||||
`$ makepkg -i`
|
|
||||||
|
[shuser]
|
||||||
|
|
||||||
|
```
|
||||||
|
makepkg -i
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shuser]
|
||||||
|
|
||||||
Just extract package and run `prepare()`
|
Just extract package and run `prepare()`
|
||||||
`--nobuild`
|
`--nobuild`
|
||||||
@ -32,7 +68,14 @@ Don't extract package and don't run `prepare()`
|
|||||||
`--noextract`
|
`--noextract`
|
||||||
|
|
||||||
Create SRCINFO
|
Create SRCINFO
|
||||||
`$ makepkg --printsrcinfo > .SRCINFO`
|
|
||||||
|
[shuser]
|
||||||
|
|
||||||
|
```
|
||||||
|
makepkg --printsrcinfo > .SRCINFO
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shuser]
|
||||||
|
|
||||||
Using paru to build package in clean chroot for testing
|
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/
|
https://old.reddit.com/r/archlinux/comments/tkeuy5/using_paru_u_chroot_to_build_a_pkgbuild_in_a/
|
||||||
|
Loading…
Reference in New Issue
Block a user