Package Muse Code from Meta's native binaries (#329)

This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2026-09-06 21:46:10 +02:00
1 parent 707b5e6c51
commit 377ca9cdfd
2 files changed
+31

No files matched your search

@@ -0,0 +1,4 @@
{
"source": "local",
"release_ring": "fast"
}
+27
View File
@@ -0,0 +1,27 @@
# Maintainer: David Heinemeier Hansson <david@hey.com>
pkgname=muse-code
pkgver=1.0.3.r2198.1
pkgrel=1
pkgdesc="Meta's terminal coding agent"
arch=('x86_64' 'aarch64')
url="https://dev.meta.ai"
license=('LicenseRef-Meta-Model-API')
depends=('ca-certificates')
optdepends=('git: workspace worktrees and version control')
# Arch's unrelated MusE sequencer also owns /usr/bin/muse.
conflicts=('muse' 'muse-code-bin' 'muse-bin' 'musecode-bin' 'musecode')
options=('!debug' '!strip')
# Meta publishes standalone, statically linked binaries. Keep the build number
# in pkgver so releases with the same marketing version still upgrade.
_upstream_ver="${pkgver/.r/-R}"
_download="https://lookaside.facebook.com/lookaside/muse/download/"
source_x86_64=("${pkgname}-${pkgver}-x86_64::${_download}?channel=muse&version=${_upstream_ver}&file=muse-x86-linux")
source_aarch64=("${pkgname}-${pkgver}-aarch64::${_download}?channel=muse&version=${_upstream_ver}&file=muse-aarch64-linux")
sha256sums_x86_64=('75a68f98c437dfd17d264730c5bc72d57e5f1e18d10472a9f53261ffcc091352')
sha256sums_aarch64=('4ffcf55f5eb0668643f30c5febd90d188b9a2da65858918444d31f6046940120')
package() {
install -Dm755 "${srcdir}/${pkgname}-${pkgver}-${CARCH}" "${pkgdir}/usr/bin/muse"
}