Pull in all aur pkgbuilds
This commit is contained in:
142 files changed
+3918
-14
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Christopher Cooper <christopher@cg505.com>
|
||||
# Maintainer: Jérôme Poulin <jeromepoulin@gmail.com>
|
||||
pkgname=claude-code
|
||||
_full_pkgname="@anthropic-ai/${pkgname}"
|
||||
pkgver=2.0.27
|
||||
pkgrel=1
|
||||
pkgdesc="An agentic coding tool that lives in your terminal"
|
||||
arch=('any')
|
||||
url="https://github.com/anthropics/claude-code"
|
||||
license=('LicenseRef-claude-code')
|
||||
depends=('nodejs')
|
||||
makedepends=('npm')
|
||||
optdepends=(
|
||||
'git: allow Claude to use git'
|
||||
'github-cli: interact with GitHub'
|
||||
'glab: interact with GitLab'
|
||||
'ripgrep: enhanced file search'
|
||||
)
|
||||
source=("https://registry.npmjs.org/$_full_pkgname/-/$pkgname-$pkgver.tgz")
|
||||
b2sums=('37bd5fb250475d2095fc06dbd579b23853705f305a697949b533b979f2163717e5d962f31711b16c26785ccfaf778f0fe934cba9c839b5430ce28dfd7a1837cc')
|
||||
noextract=("${pkgname}-${pkgver}.tgz")
|
||||
|
||||
package() {
|
||||
npm install -g --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz"
|
||||
|
||||
# Install from location in pkgdir since we have noextract.
|
||||
install -Dm644 "${pkgdir}/usr/lib/node_modules/@anthropic-ai/claude-code/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
Reference in new issue
Block a user