FS#44046 - [pacman] makepkg option to install files with file:// method

Attached to Project: Pacman
Opened by James Gilmore (gilmoreja) - Wednesday, 04 March 2015, 16:24 GMT
Last edited by Allan McRae (Allan) - Sunday, 24 June 2018, 12:06 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I would like to ask for a new feature for makepkg. It would be helpful if makepkg had a new option that would allow it to install packages much like the -i switch currently does, but instead of using the 'pacman -U /path/to/file' method it would use the 'pacman -U file://path/to/file'; method so that the installed local packages could be stored in pacman's cache.

This would allow users more convenience if downgrading a local package was necessary, and would allow pruning maintenance of old packages to occur at once with the regular pacman cache.


Additional info:
* package version(s)
pacman 4.2.1-1
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 24 June 2018, 12:06 GMT
Reason for closing:  Implemented
Additional comments about closing:  Works with pacman-5.1.0
Comment by Allan McRae (Allan) - Thursday, 05 March 2015, 01:06 GMT
Why not use PKGDEST in makepkg.conf and add that as a second CacheDir in pacman.conf?
Comment by James Gilmore (gilmoreja) - Thursday, 05 March 2015, 16:05 GMT
That is an option. But if pacman already has this feature to put local packages in its default cache, why not allow makepkg to take advantage of it if the user chooses? A user (myself included) might prefer to have all cached packages in the same directory, instead of making another directory on root partition and giving it special permissions.

Loading...