https://github.com/sebastienduruz/codex-app-archlinux
Codex Desktop port for Linux from MacOS dmg
https://github.com/sebastienduruz/codex-app-archlinux
amd64 arch-linux codex codex-app linux port
Last synced: 6 days ago
JSON representation
Codex Desktop port for Linux from MacOS dmg
- Host: GitHub
- URL: https://github.com/sebastienduruz/codex-app-archlinux
- Owner: SebastienDuruz
- License: mit
- Created: 2026-03-30T13:05:45.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-20T06:00:05.000Z (13 days ago)
- Last Synced: 2026-05-20T09:46:11.696Z (13 days ago)
- Topics: amd64, arch-linux, codex, codex-app, linux, port
- Language: Shell
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Codex App Packaging for Arch Linux
This repository provides an Arch Linux package build for Codex Desktop (`x86_64`) from the macOS DMG source.
## Scope
- Target distro: Arch Linux
- Target architecture: `x86_64`
- Package format: pacman package (`.pkg.tar.zst`)
## Prerequisites
Install base packaging tools:
```bash
sudo pacman -S --needed base-devel git
```
`makepkg -s` installs package dependencies declared in `PKGBUILD` automatically.
Network access is required to download:
- `Codex.dmg`
- npm tarballs for native modules resolved dynamically from the app bundle
## Build Workflow
From repository root:
```bash
makepkg -si
```
## Run
```bash
codex-app
```
## Run Release Executable
Releases include a portable executable bundle for Linux:
- `codex-app-linux-x86_64.tar.gz`
- `codex-app-linux-x86_64.tar.gz.sha256`
Verify and run:
```bash
sha256sum -c codex-app-linux-x86_64.tar.gz.sha256
tar -xzf codex-app-linux-x86_64.tar.gz
chmod +x codex-app-linux-x86_64/codex-app
./codex-app-linux-x86_64/codex-app
```
## Output Layout
- Build workspace: `src/`, `pkg/`
- Built package: `*.pkg.tar.zst` (repo root)
## Update Process
When updating package inputs:
1. Update `pkgver`, source URLs/versions, and checksums in `PKGBUILD` when needed.
2. Regenerate checksums if needed:
```bash
updpkgsums
```
3. Regenerate `.SRCINFO`:
```bash
makepkg --printsrcinfo > .SRCINFO
```
4. Rebuild:
```bash
makepkg -f
```
## Checksum Policy
`Codex.dmg` is served from a rolling CDN URL and may change without notice.
The nightly release workflow tracks and persists the latest DMG SHA-256 in
`.codex-dmg.sha256` and publishes a new release only when this hash changes.