FS#42150 - [makepkg] Option to output product filenames

Attached to Project: Pacman
Opened by Jan Alexander Steffens (heftig) - Sunday, 28 September 2014, 02:21 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 08:43 GMT
Task Type Feature Request
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Figuring out which packages a PKGBUILD can produce is not trivial, especially since arch became split-overridable and debug packages possible. However, it is essential to have for proper automatic repository management (read: dbscripts).

In comparison, the reverse (figuring out the PKGBUILD from the package) is easy, most of the time: It's either pkgbase or pkgname in .PKGINFO. Well, except for debug packages, which can contain no pkgbase even though they're a split product.

I would like to request an option for makepkg to output the build product filenames; perhaps in a format such as this:

foo-bar-1.0-1-x86_64
foo-baz-1.0-1-x86_64
foo-qux-1.0-1-any

I.e. without PKGEXT. This is combination with the makepkg configs from devtools should allow discovering the packages for each architecture.
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 31 January 2016, 08:43 GMT
Reason for closing:  Implemented
Additional comments about closing:  makepkg --packagelist
Comment by Allan McRae (Allan) - Sunday, 28 September 2014, 02:27 GMT
If a patch arrives very soon, we can add this to pacman-4.2.

Loading...