You are not logged in.
Hello,
When I install package with pacman -S, how can I know which options are used to compile it and where source are taken?
Offline
Packages are built using makepkg. makepkg uses a so-called PKGBUILD file that describes all you ask there (plus optionally other files) to build a package.
There are various ways to obtain the PKGBUILD for a given package; https://wiki.archlinux.org/index.php/Arch_Build_System explains all of this.
Last edited by ayekat (2019-07-31 11:48:43)
Offline
Thanks,
Seems have to download svn to get only one file.
It is also possible to get this PKGBUILD file from package detail like from this page:
https://www.archlinux.org/packages/extr … 4/libupnp/
On top right go to Package Actions - Source Files
Then you can find PKGBUILD file.
Offline
Seems have to download svn to get only one file.
False.
It's not that long of a page you were linked to. If you read just a *little* bit further, you'd see other options. You were even given a indication that there'd be more than one option when you were directed to that page.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline