Skip to content

SebastienDuruz/codex-app-archlinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

sudo pacman -S --needed base-devel git

makepkg -s installs package dependencies declared in PKGBUILD automatically.

Network access is required to download:

  • Codex.dmg
  • better-sqlite3 npm tarball
  • node-pty npm tarball

Build Workflow

From repository root:

makepkg -si

Run

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:

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.
  2. Regenerate checksums if needed:
updpkgsums
  1. Regenerate .SRCINFO:
makepkg --printsrcinfo > .SRCINFO
  1. Rebuild:
makepkg -f