[arch-projects] [namcap] possibility to use renamed PKGBUILD files

ashark at linuxcomp.ru ashark at linuxcomp.ru
Thu Jan 25 16:10:47 UTC 2018


> But if we want to get fancy, we could:
>
> 1) add a dependency on python-magic and check for text/plain
> 2) read the file line by line to see if ^pkgname= exists anywhere.
Seems like a good idea. And maybe still process as PKGBUILD when file is named just "PKGBUILD".


More information about the arch-projects mailing list