temp patch 1200 until upstream merge

This commit is contained in:
Kainoa Kanter 2026-02-27 12:38:36 -08:00
parent 9884f1caea
commit 09d4ac9fe7
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 14 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = letta-code
pkgdesc = The memory-first coding agent
pkgver = 0.16.12
pkgrel = 1
pkgrel = 2
url = https://github.com/letta-ai/letta-code
arch = x86_64
arch = aarch64
@ -14,7 +14,9 @@ pkgbase = letta-code
options = !strip
source = letta-code-0.16.12.tar.gz::https://github.com/letta-ai/letta-code/archive/v0.16.12.tar.gz
source = letta
source = https://patch-diff.githubusercontent.com/raw/letta-ai/letta-code/pull/1200.patch
sha256sums = dfe0397888daa2fa132372a1cba5cb592393163eb89fd36243e71ce8d7402946
sha256sums = c9350b744337f0a0b0c51e1a8661e8c7bc757fcc753bddaef872b0ef626228e8
sha256sums = ffdb0db45f74d72dac367cfc0013656b274c16758fdcc9c47c2a6c1361171a71
pkgname = letta-code

View file

@ -2,7 +2,7 @@
_pkgname="letta-code"
pkgname="$_pkgname"
pkgver=0.16.12
pkgrel=1
pkgrel=2
pkgdesc="The memory-first coding agent"
arch=('x86_64' 'aarch64')
url="https://github.com/letta-ai/letta-code"
@ -13,11 +13,15 @@ conflicts=(
"$_pkgname-bin"
"$_pkgname-git"
)
source=("$_pkgname-$pkgver.tar.gz::$url/archive/v"$pkgver".tar.gz" "letta")
source=(
"$_pkgname-$pkgver.tar.gz::$url/archive/v"$pkgver".tar.gz"
"letta"
"https://patch-diff.githubusercontent.com/raw/letta-ai/letta-code/pull/1200.patch")
noextract=()
options=(!strip)
sha256sums=('dfe0397888daa2fa132372a1cba5cb592393163eb89fd36243e71ce8d7402946'
'c9350b744337f0a0b0c51e1a8661e8c7bc757fcc753bddaef872b0ef626228e8')
'c9350b744337f0a0b0c51e1a8661e8c7bc757fcc753bddaef872b0ef626228e8'
'ffdb0db45f74d72dac367cfc0013656b274c16758fdcc9c47c2a6c1361171a71')
prepare() {
if ! command -v bun &> /dev/null; then
@ -33,6 +37,10 @@ prepare() {
build() {
cd "${_pkgname}-${pkgver}"
# Temp patch to be removed next update
patch -Np1 < "$srcdir/1200.patch" || true
export USE_MAGICK=1
bun install
bun run build