diff --git a/README.md b/README.md index 2d99b4e..c8b447d 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ A curated collection of Arch Linux packages missing from the AUR — automatical | | App | Packages | |:---:|:---|:---| | | **[beammp-launcher](https://github.com/BeamMP/BeamMP-Launcher)**
Multiplayer launcher/client for BeamNG.drive | [![beammp-launcher](https://img.shields.io/aur/version/beammp-launcher?style=flat-square&label=beammp-launcher)](https://aur.archlinux.org/packages/beammp-launcher) [![beammp-launcher-git](https://img.shields.io/aur/version/beammp-launcher-git?style=flat-square&label=beammp-launcher-git&color=purple)](https://aur.archlinux.org/packages/beammp-launcher-git) | +| | **[codepilot](https://github.com/op7418/CodePilot)**
A multi-model AI agent desktop client | [![codepilot-appimage](https://img.shields.io/aur/version/codepilot-appimage?style=flat-square&label=codepilot-appimage)](https://aur.archlinux.org/packages/codepilot-appimage) | | | **[crunchyroll-downloader](https://github.com/CuteTenshii/crunchyroll-downloader)**
Downloads anime from Crunchyroll and outputs them in a MKV file | [![crunchyroll-downloader-bin](https://img.shields.io/aur/version/crunchyroll-downloader-bin?style=flat-square&label=crunchyroll-downloader-bin)](https://aur.archlinux.org/packages/crunchyroll-downloader-bin) | | | **[ferrumc](https://github.com/ferrumc-rs/ferrumc)**
A reimplementation of the Minecraft server in Rust | [![ferrumc-bin](https://img.shields.io/aur/version/ferrumc-bin?style=flat-square&label=ferrumc-bin)](https://aur.archlinux.org/packages/ferrumc-bin) [![ferrumc-git](https://img.shields.io/aur/version/ferrumc-git?style=flat-square&label=ferrumc-git&color=purple)](https://aur.archlinux.org/packages/ferrumc-git) | | | **[glitchtip-cli](https://gitlab.com/glitchtip/glitchtip-cli)**
Open source CLI for GlitchTip | [![glitchtip-cli](https://img.shields.io/aur/version/glitchtip-cli?style=flat-square&label=glitchtip-cli)](https://aur.archlinux.org/packages/glitchtip-cli) [![glitchtip-cli-bin](https://img.shields.io/aur/version/glitchtip-cli-bin?style=flat-square&label=glitchtip-cli-bin)](https://aur.archlinux.org/packages/glitchtip-cli-bin) | diff --git a/packages/codepilot/codepilot.desktop b/packages/codepilot/codepilot.desktop new file mode 100644 index 0000000..d623236 --- /dev/null +++ b/packages/codepilot/codepilot.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=CodePilot +Comment=A multi-model AI agent desktop client +Exec=codepilot +Icon=codepilot +Terminal=false +Type=Application +Categories=Development;IDE; +StartupWMClass=codepilot diff --git a/packages/codepilot/icon.png b/packages/codepilot/icon.png new file mode 100644 index 0000000..60c464b Binary files /dev/null and b/packages/codepilot/icon.png differ diff --git a/packages/codepilot/manifest.yaml b/packages/codepilot/manifest.yaml new file mode 100644 index 0000000..9ffbab2 --- /dev/null +++ b/packages/codepilot/manifest.yaml @@ -0,0 +1,37 @@ +name: codepilot +url: https://github.com/op7418/CodePilot +license: LicenseRef-BSL-1.1 +arch: [x86_64, aarch64] +pkgdesc: "A multi-model AI agent desktop client" + +variants: + appimage: + pkgver: "0" + depends: [fuse2] + options: ["!strip"] + versionChecker: "curl -s https://api.github.com/repos/op7418/CodePilot/releases/latest | jq -r '.tag_name' | sed 's/^v//'" + source: + x86_64: + - "codepilot-appimage-${pkgver}-x86_64.AppImage::${url}/releases/download/v${pkgver}/CodePilot-${pkgver}-x86_64.AppImage" + - "codepilot.png::https://raw.githubusercontent.com/op7418/CodePilot/main/build/icon.png" + - "codepilot.desktop::https://raw.githubusercontent.com/Cleboost/missing-aur/main/packages/codepilot/codepilot.desktop" + aarch64: + - "codepilot-appimage-${pkgver}-aarch64.AppImage::${url}/releases/download/v${pkgver}/CodePilot-${pkgver}-arm64.AppImage" + - "codepilot.png::https://raw.githubusercontent.com/op7418/CodePilot/main/build/icon.png" + - "codepilot.desktop::https://raw.githubusercontent.com/Cleboost/missing-aur/main/packages/codepilot/codepilot.desktop" + prepare: | + if [ "${CARCH}" = "x86_64" ]; then + chmod +x "${srcdir}/codepilot-appimage-${pkgver}-x86_64.AppImage" + elif [ "${CARCH}" = "aarch64" ]; then + chmod +x "${srcdir}/codepilot-appimage-${pkgver}-aarch64.AppImage" + fi + package: | + if [ "${CARCH}" = "x86_64" ]; then + install -Dm755 "${srcdir}/codepilot-appimage-${pkgver}-x86_64.AppImage" "${pkgdir}/opt/codepilot-appimage/codepilot.AppImage" + elif [ "${CARCH}" = "aarch64" ]; then + install -Dm755 "${srcdir}/codepilot-appimage-${pkgver}-aarch64.AppImage" "${pkgdir}/opt/codepilot-appimage/codepilot.AppImage" + fi + install -dm755 "${pkgdir}/usr/bin" + ln -sf "/opt/codepilot-appimage/codepilot.AppImage" "${pkgdir}/usr/bin/codepilot" + install -Dm644 "${srcdir}/codepilot.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/codepilot.png" + install -Dm644 "${srcdir}/codepilot.desktop" "${pkgdir}/usr/share/applications/codepilot.desktop"