28 lines
1.2 KiB
Bash
28 lines
1.2 KiB
Bash
# 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"
|
|
}
|