humanlayer-bin 0.31.17-1
safe
Checked2026-08-02 23:05 UTC
Check provider/modelopenai/gpt-5.6-luna
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..54c5256
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Agustin Carrasco <[email protected]>
+
+_pkgname=humanlayer
+pkgname=humanlayer-bin
+pkgver=0.31.17
+pkgrel=1
+pkgdesc="HumanLayer CLI - daemon management and authentication for HumanLayer coding sessions"
+arch=('x86_64' 'aarch64')
+url="https://github.com/humanlayer/humanlayer"
+license=('Apache-2.0')
+depends=('glibc')
+provides=('humanlayer')
+conflicts=('humanlayer' 'humanlayer-git')
+options=('!strip')
+source_x86_64=("${pkgname}-${pkgver}-x86_64.tgz::https://registry.npmjs.org/@humanlayer/cli-linux-x64/-/cli-linux-x64-${pkgver}.tgz")
+source_aarch64=("${pkgname}-${pkgver}-aarch64.tgz::https://registry.npmjs.org/@humanlayer/cli-linux-arm64/-/cli-linux-arm64-${pkgver}.tgz")
+sha256sums_x86_64=('db08d85afea00ac6adf481b71ccee162d0109007ff44152712e667bace0cc416')
+sha256sums_aarch64=('a52ac8cf97d4f55422af496b2893a7496914f6dd0c80efa146ebe7afaadce822')
+
+latestver() {
+ curl -s "https://registry.npmjs.org/@humanlayer/cli/latest" | \
+ grep -o '"version":"[^"]*"' | sed -E 's/.*"([^"]+)"$/\1/' || true
+}
+
+package() {
+ install -Dm755 "package/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
+
+ # Upstream only ships the license in the git repo, not in the npm tarballs,
+ # so it's inlined here to avoid an extra pkgver-scoped source download per bump
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ cat > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" <<'EOF'
+Apache Software License 2.0
+
+Copyright (c) 2024, humanlayer Authors
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+EOF
+}
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..e1b3633
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = humanlayer-bin
+ pkgdesc = HumanLayer CLI - daemon management and authentication for HumanLayer coding sessions
+ pkgver = 0.31.17
+ pkgrel = 1
+ url = https://github.com/humanlayer/humanlayer
+ arch = x86_64
+ arch = aarch64
+ license = Apache-2.0
+ depends = glibc
+ provides = humanlayer
+ conflicts = humanlayer
+ conflicts = humanlayer-git
+ options = !strip
+ source_x86_64 = humanlayer-bin-0.31.17-x86_64.tgz::https://registry.npmjs.org/@humanlayer/cli-linux-x64/-/cli-linux-x64-0.31.17.tgz
+ sha256sums_x86_64 = db08d85afea00ac6adf481b71ccee162d0109007ff44152712e667bace0cc416
+ source_aarch64 = humanlayer-bin-0.31.17-aarch64.tgz::https://registry.npmjs.org/@humanlayer/cli-linux-arm64/-/cli-linux-arm64-0.31.17.tgz
+ sha256sums_aarch64 = a52ac8cf97d4f55422af496b2893a7496914f6dd0c80efa146ebe7afaadce822
+
+pkgname = humanlayer-bin
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6dbe4f4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+humanlayer-bin-*
+*.tar.zst