[arch-projects] [namcap] possibility to use renamed PKGBUILD files
lukeshu at lukeshu.com
Thu Jan 25 15:24:58 UTC 2018
On Wed, 24 Jan 2018 17:17:52 -0500,
ashark at linuxcomp.ru wrote:
> > How is "startswith" any less arbitrary than "endswith"? Because of some
> > habit to move PKGBUILD to PKGBUILD.suffix?
> Yes, as I already told at https://bugs.archlinux.org/task/57193:
> I keep several PKGBUILD files in one directory, and they are named like "PKGBUILD-project1" "PKGBUILD-project2" "PKGBUILD-project3"
> It is personally my usage. Maybe somebody else names them differently, even maybe without "PKGBUILD" substring in file name.
> So, for my need, I just could replase "package.endswith('PKGBUILD')" with "package.startswith('PKGBUILD')".
So? *That isn't any less arbitrary*, and breaks my method of keeping
several PKGBUILD files in one directory, naming them
"project1.PKGBUILD", "project2.PKGBUILD", ...
> But it would be better to just consider every non-archive file as a PKGBUILD file.
~ Luke Shumaker
More information about the arch-projects