[pacman-dev] [PATCH] Can place local source files in directories

Allan McRae allan at archlinux.org
Sun Jun 12 04:37:32 UTC 2016


On 02/05/16 01:37, Ashley Whetter wrote:
> For example a source file 'mydir/myfile.sh' is now valid,
> whereas before 'myfile.sh' would have needed to be placed in the same directory
> as the PKGBUILD.
> 
> Fixes FS#43020
> 
> Signed-off-by: Ashley Whetter <ashley at awhetter.co.uk>
> ---
> I've tested this by generating checksums, making a package, and
> making a source package, all with downloadable and local files.
> Local files were tested in both the PKGBUILD directory and a subdirectory.
> 
> This doesn't work for files that have been placed under a fake protocol to force
> makepkg not to include the file in the source package
> (for example 'file://a_sub_dir/my_huge_source_file.tar.gz').

I have not looked at the patch in great detail yet, but I am reminded of
this bug to allow similar things to happen for VCS support:

https://bugs.archlinux.org/task/39718

Could you either integrate that into this patch, or provided a second
patch for that?

Thanks,
Allan


More information about the pacman-dev mailing list