Can this patch be considered?
diff --git i/PKGBUILD w/PKGBUILD
index 8faf8bd..d1c29ab 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -22,15 +22,11 @@ options=(!strip emptydirs staticlibs zipman)
license=("LicenseRef-GitHub")
-source=("https://registry.npmjs.org/@github/copilot/-/copilot-${pkgver}.tgz"
- "README-${pkgver}.md::${_urlraw}/README.md"
- "LICENSE-${pkgver}::${_urlraw}/LICENSE.md")
+source=("https://registry.npmjs.org/@github/copilot/-/copilot-${pkgver}.tgz")
noextract=("copilot-${pkgver}.tgz")
changelog="changelog.md"
-b2sums=('269566b5c2def6e18ce83c906a5f23338b0837ef14c1b8aa3e8258b508fba91ab2d079041bbb01f0b2003493dc56baa50a2a587f899aa16314ad8c511e4e2500'
- '326a3606b623a71c24e554883f929978f7458b8ebfb9a0834dbaf8e54250eae602d6053b6bc31993bf10ff693f7cb1bc58591b183c7356e1135e3bfd9d689634'
- '94d35b65a3df51c6cd8d36dc085fefc5dcab1a817323f56c394c4ccacf5c876aa5c1caf65666594678968b49b9958334a43eef62d36f1a9c96878fe59556396d')
+b2sums=('269566b5c2def6e18ce83c906a5f23338b0837ef14c1b8aa3e8258b508fba91ab2d079041bbb01f0b2003493dc56baa50a2a587f899aa16314ad8c511e4e2500')
# Document: https://wiki.archlinux.org/title/Node.js_package_guidelines
package() {
@@ -66,5 +62,5 @@ package() {
install -Dm644 "${pkgdir}/usr/lib/node_modules/@github/copilot/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
msg2 "Installing LICENSE"
- install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "${pkgdir}/usr/lib/node_modules/@github/copilot/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Both the README.md and LICENSE.md are getting properly extracted from the npm package without issues, and I compared them with the ones initially downloaded, and there's no difference but some cosmetic identation some places. So there's no real purpose on getting those, and we're compliant on getting them and explored before even getting installed
Pinned Comments
Edu4rdSHL commented on 2026-05-11 19:26 (UTC)
For everyone having build issues with the shell completion, follow the following steps:
~/.copilot/pkgfoldermakepkg, use-CThat should solve your problem. However, if the issue persists, build your package in a clean chroot environment.
There aren't problems with packaging, and nothing will be changed on our side, so avoid commenting on a problem that has already been discussed many times. Thanks!