惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
雷峰网
雷峰网
博客园 - 叶小钗
C
Check Point Blog
F
Fortinet All Blogs
A
About on SuperTechFans
Y
Y Combinator Blog
Vercel News
Vercel News
IT之家
IT之家
V
V2EX
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
云风的 BLOG
云风的 BLOG
U
Unit 42
博客园_首页
量子位
M
MIT News - Artificial intelligence
G
Google Developers Blog
小众软件
小众软件
N
Netflix TechBlog - Medium
P
Palo Alto Networks Blog
S
Schneier on Security
T
Tor Project blog
F
Full Disclosure
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tenable Blog
T
The Blog of Author Tim Ferriss
Spread Privacy
Spread Privacy
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
Security Latest
Security Latest
D
Darknet – Hacking Tools, Hacker News & Cyber Security
博客园 - 司徒正美
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
Recorded Future
Recorded Future
L
Lohrmann on Cybersecurity
I
Intezer
L
LangChain Blog
L
LINUX DO - 热门话题

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - chess-cat-git AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - profile-sync-daemon-openrc-git AUR (en) - runex-bin AUR (en) - android-cli AUR (en) - rs-top AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - omarchy-emacs AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - kwin-dual-mode AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - nodejs-resume-cli
2026-06-15 · via AUR Newest Packages

Latest Comments

matoro commented on 2021-02-25 00:32 (UTC)

Pkgrel has been bumped, sorry.

VannTen commented on 2021-02-24 09:24 (UTC)

The current PKGBUILD does not work, due to a potentially misnamed source.

Sorry about that. I tested it before proposing the patch but

==> Retrieving sources...
  -> Found resume-cli-3.0.4.tgz

I think it did not re-download it since the archive was already there, so I did not spot the error.

StephenBrown2 commented on 2021-02-24 04:17 (UTC)

Could you also bump the pkgrel version? yay is still trying to grab the broken PKGBUILD for me since the version hasn't changed.

amaanhub commented on 2021-02-21 23:09 (UTC)

Wow, thanks for sorting that out so fast. It appears to be working on my end too. Ignoring the first 7 characters with ${pkgname:7} is cool, I've learned something new!

matoro commented on 2021-02-21 22:48 (UTC)

Sorry about that. It's been fixed and actually tested before pushing this time.

amaanhub commented on 2021-02-21 22:24 (UTC) (edited on 2021-02-21 22:24 (UTC) by amaanhub)

The current PKGBUILD does not work, due to a potentially misnamed source. The source should point to https://registry.npmjs.org/resume-cli/-/resume-cli-3.0.4.tgz .

I noticed in the previous version it points to the correct source as you explicitly make a variable that is the npm package name which is called in source (source=("https://registry.npmjs.org/${_npmname}/-/${_npmname}-${_npmver}.tgz")) though you are calling source=("https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz") now so it is looking for a package called nodejs-resume-cli.

First comment here so apologies for any formatting errors.

VannTen commented on 2021-02-07 10:36 (UTC)

I'll suggest the following patch to update the version and remove srcdir ref as indicated by the Node.js arch package guidelines.

From 77ffc12311a952b984b2d5f88fb04d5397ab6f07 Mon Sep 17 00:00:00 2001
From: Max Gautier <mg+archlinux@max.gautier.name>
Date: Sun, 7 Feb 2021 11:34:18 +0100
Subject: [PATCH] Version + remove scrdir ref

---
 PKGBUILD | 45 ++++++++++++++++++++++++++++++---------------
 1 file changed, 30 insertions(+), 15 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 0c63fb8..9f1f20b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,38 @@
-_npmname=resume-cli
-_npmver=1.2.7
-pkgname=nodejs-resume-cli
-pkgver="${_npmver}"
+pkgname=resume-cli
+pkgver=3.0.4
 pkgrel=1
 pkgdesc="The command line tool for JSON Resume"
 arch=(any)
 url="https://github.com/jsonresume/resume-cli"
 license=('MIT')
-depends=('nodejs' 'npm')
-source=("https://registry.npmjs.org/${_npmname}/-/${_npmname}-${_npmver}.tgz")
-noextract=(${_npmname}-${_npmver}.tgz)
-sha256sums=('a84f2739ca1d2ee5d9ca113ae9a9a7ee9d90808f9bffbade8e72c12eb2552958')
+depends=('nodejs')
+makedepends=('npm' 'jq')
+source=("https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz")
+noextract=(${pkgname}-${pkgver}.tgz)
+sha512sums=('1274d5e87a343cd2e40279034d57f771cfc8580a1f3c71df03b0ac080edc12126ad939b4540ab9120d4c2cd86aa2a47cb44ee56b2072a64090997c9e6f56c8ea')

 package() {
-    cd ${srcdir}
-    local _npmdir="${pkgdir}/usr/lib/node_modules/"
-    mkdir -p ${_npmdir}
-    cd ${_npmdir}
-    npm install -g --prefix "${pkgdir}/usr" ${_npmname}@${_npmver}
-}
+   npm install -g --user root --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz"
+
+
+   # Non-deterministic race in npm gives 777 permissions to random directories.
+   # See https://github.com/npm/cli/issues/1103 for details.
+   find "$pkgdir/usr" -type d -exec chmod 755 {} +

-# vim:set ts=2 sw=2 et:
+   # Remove references to $pkgdir
+   find "$pkgdir" -type f -name package.json -exec sed -i "/_where/d" {} +
+
+   # Remove references to $srcdir
+   local tmppackage="$(mktemp)"
+   local pkgjson="$pkgdir/usr/lib/node_modules/$pkgname/package.json"
+   jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage"
+   mv "$tmppackage" "$pkgjson"
+   chmod 644 "$pkgjson"
+
+   find "$pkgdir" -type f -name package.json | while read pkgjson; do
+       local tmppackage="$(mktemp)"
+       jq 'del(.man)' "$pkgjson" > "$tmppackage"
+       mv "$tmppackage" "$pkgjson"
+       chmod 644 "$pkgjson"
+   done
+}
-- 
2.30.0