You are not logged in.
Hello, how can I just build package from AUR to get .pkg.tar.zst file, but do not install the package itself on my machine? I am working on repository and I just wanted to make package files to add them to the repo. I used "makepkg" command and it worked with some small packages, but when I want to build something bigger like yay it has problem with dependenciences (requirment packages) and I dont wanna install them you know. I want just to build package and get .pkg.tar.zst. Thanks!
Offline
makepkg --help
-s, --syncdeps Install missing dependencies with pacman
so just do
makepkg -s
Last edited by cmm11 (2025-01-23 17:56:11)
$20 Free Credit Hetzner - https://hetzner.cloud/?ref=fuVilhv403fA
Offline
makepkg --help
-s, --syncdeps Install missing dependencies with pacmanso just do makepkg -s
Thanks but as I said, I dont wanna insall packages in my system that I dont need and need them just for building package
Offline
https://wiki.archlinux.org/title/Develo … ean_chroot -- for the canonical way of building packages that are intended to be distributed beyond your own machine.
Offline
Mod note: moving to Creating and Modifying Packages.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thanks so much
Offline
Mod note: moving to Creating and Modifying Packages.
I am sorry for that. Thanks for moving
Offline