FS#71376 - Support local folders in sources
Attached to Project:
Pacman
Opened by Hunter Wittenborn (hwittenborn) - Monday, 28 June 2021, 00:39 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 28 June 2021, 01:54 GMT
Opened by Hunter Wittenborn (hwittenborn) - Monday, 28 June 2021, 00:39 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 28 June 2021, 01:54 GMT
|
Details
I currently use makepkg to create and test some packages I
use locally, but doing so with makepkg is currently quite a
pain when a project contains a lot of files.
Currently, I'm using a `git+file://${PWD}` method that works for the most part, but it requires me to make relatively useless commits just for the sake of testing. It would be really nice if I could just enter something like `file://${PWD}`, and then makepkg could just detect if it's a folder, and if so, just copy the folder over into $srcdir. |
This task depends upon
I don't think I mentioned it, but when I enter something like `file://${PWD}`, it adds it into $srcdir, but it creates something that resembles a file. My terminal is giving it a special color different from folders and normal files though, so I'm thinking makepkg might be trying to do something weird with it.
All sources (other than VCS clones) regardless of how they are acquired are always symlinked one by one into the $srcdir. It's not weird.
Regardless, even something like "path/to/folder" would help greatly, even if required to be relative to the PKGBUILD's path.
At that point then it's pretty much completely like the other issue though.