Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
qwen-code


Commits:
54c742ff by Shengyun Wang at 2026-02-26T21:40:28+01:00
pkgbuild: directly install `dist/cli.js` as `/usr/bin/qwen`

- - - - -
3915285c by Levente Polyak at 2026-02-26T21:40:28+01:00
Merge branch 'cli-js-as-qwen' into 'main'

pkgbuild: directly install `dist/cli.js` as `/usr/bin/qwen`

See merge request archlinux/packaging/packages/qwen-code!1
- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,3 +1,4 @@
+# Contributor: Shengyun Wang <[email protected]>
 # Contributor: noureddinex
 # Contributor: envolution
 # Contributor: Aaron Coach <[email protected]>
@@ -15,6 +16,7 @@ depends=(
   libstdc++
   glibc
   nodejs
+  ripgrep
 )
 makedepends=(
   git
@@ -29,12 +31,10 @@ prepare() {
   cd $pkgname
   npm clean-install --ignore-scripts
 }
+
 build() {
   cd $pkgname
   npm run bundle
-  local bundled=$(jq '.dependencies + .optionalDependencies | keys' 
package.json)
-  npm pkg set --json bundledDependencies="$bundled"
-  npm pack
 }
 
 check() {
@@ -45,8 +45,8 @@ check() {
 
 package() {
   cd $pkgname
-  npm install --global --offline --prefix "$pkgdir/usr" \
-    $pkgname-$pkgname-$pkgver.tgz
+  install -vDm755 dist/cli.js "$pkgdir/usr/bin/qwen"
+
   install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
   install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qwen-code/-/compare/c339e0eea0aa2e2a9f225fac5acc64ee5781c390...3915285ce69808b5c2bb9a3ed6aad274755e8e4a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qwen-code/-/compare/c339e0eea0aa2e2a9f225fac5acc64ee5781c390...3915285ce69808b5c2bb9a3ed6aad274755e8e4a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to