From 7ab8d86396cf84cfeedae086f261b9596691d748 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 08 Feb 2026 01:15:14 +0000
Subject: [PATCH] Try to allow vcs rebuilds
---
README.md | 43 ++++++++++++++++++++++++++++++-------------
1 files changed, 30 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index 1ddf3f5..f3f0922 100644
--- a/README.md
+++ b/README.md
@@ -16,14 +16,31 @@
## Installation
+### From Source
```bash
-# From source
-pip install -e .
+# Clone the repository
+git clone https://github.com/joelgrun/archrepobuild
+cd archrepobuild
-# Or with development dependencies
-pip install -e ".[dev]"
+# Set up virtual environment and install
+python -m venv .venv
+source .venv/bin/activate
+pip install -e .
```
+### Native Arch Linux Package
+To build and install as a native system package:
+```bash
+makepkg -si
+```
+
+### Standalone Binary
+To create a standalone executable that doesn't require Python:
+```bash
+python scripts/build_binary.py
+```
+The binary will be available at `dist/archrepobuild-bin`.
+
## Quick Start
1. **Create configuration**:
@@ -34,22 +51,22 @@
2. **Initialize repository**:
```bash
- archbuild -c config.yaml init
+ archrepobuild -c config.yaml init
```
3. **Add packages**:
```bash
- archbuild add yay paru
+ archrepobuild add yay paru
```
4. **Build all packages**:
```bash
- archbuild build-all
+ archrepobuild build-all
```
5. **Build a specific package**:
```bash
- archbuild build <package>
+ archrepobuild build <package>
```
## Commands
@@ -95,26 +112,26 @@
## Migration from Bash Version
```bash
-archbuild migrate-config vars.sh -o config.yaml
+archrepobuild migrate-config vars.sh -o config.yaml
```
## Systemd Timer
-Create `/etc/systemd/system/archbuild.service`:
+Create `/etc/systemd/system/archrepobuild.service`:
```ini
[Unit]
Description=Build AUR packages
[Service]
Type=oneshot
-ExecStart=/usr/bin/archbuild -c /etc/archbuild/config.yaml build-all
+ExecStart=/usr/bin/archrepobuild -c /etc/archrepobuild/config.yaml build-all
User=builduser
```
-Create `/etc/systemd/system/archbuild.timer`:
+Create `/etc/systemd/system/archrepobuild.timer`:
```ini
[Unit]
-Description=Run archbuild daily
+Description=Run archrepobuild daily
[Timer]
OnCalendar=daily
--
Gitblit v1.10.0