Open lahwaacz opened 3 months ago
warn about unsorted
Refer https://github.com/termux/termux-language-server/issues/19#issuecomment-2200467775
pkgdesc defined in the package_doxygen-docs function is fine too.
Should be an unexpected behaviour.
Refer #19 (comment)
But here the order pkgname
, pkgver
, pkgrel
is correct, only they are placed after pkgbase
.
I see, the order comes from man 5 PKGBUILD
, in the man, pkgbase is placed after them. :cry:
That is because split packages are not that common, so pkgbase
is explained near the end of the manual page. But it does not suggest that pkgbase
should be at the bottom - typically it is either right before or right after pkgname
. See PKGBUILD-split.proto or some PKGBUILDs of official Arch packages.
So the order should be adapted to the official recommended order. Except man, is there any good official information about it?
I guess only the PKGBUILD-split.proto
file or making a sample from the official Arch packages...
I'm getting the following on the doxygen PKGBUILD:
Why does it warn about unsorted
pkgver
,pkgrel
,pkgdesc
andurl
? Also note that apkgdesc
defined in thepackage_doxygen-docs
function is fine too.