You are not logged in.

#1 2019-07-31 11:34:27

RetroSharePhenom
Member
Registered: 2016-10-04
Posts: 6

How to know how a package is compiled.

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

#2 2019-07-31 11:48:02

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: How to know how a package is compiled.

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)


pkgshackscfgblag

Offline

#3 2019-07-31 12:25:14

RetroSharePhenom
Member
Registered: 2016-10-04
Posts: 6

Re: How to know how a package is compiled.

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

#4 2019-07-31 12:27:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: How to know how a package is compiled.

RetroSharePhenom wrote:

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

Board footer

Powered by FluxBB