Add stable / edge

This commit is contained in:
Ryan Hughes committed 2025-11-10 11:03:39 -05:00
1 parent bfd739f539
commit 92677d3df0
7 files changed
+29 -14

No files matched your search

+7 -6
View File
@@ -1,8 +1,9 @@
# Common path variables for Omarchy package build system
# This file should be sourced after setting BUILD_ROOT
# Default architecture
# Default architecture and mirror
ARCH=${ARCH:-x86_64}
MIRROR=${MIRROR:-edge}
# Core directories (architecture-independent)
BUILD_DIR="$BUILD_ROOT/build"
@@ -10,12 +11,12 @@ SRC_DIR="$BUILD_ROOT/src"
LOG_DIR="$BUILD_ROOT/logs"
PKGBUILDS_DIR="$BUILD_ROOT/pkgbuilds"
# Function to update architecture-specific paths
# Call this after changing ARCH variable
# Function to update architecture and mirror-specific paths
# Call this after changing ARCH or MIRROR variables
update_arch_paths() {
BUILD_OUTPUT_DIR="$BUILD_ROOT/build-output/$ARCH" # Unsigned packages
REPO_DIR="$BUILD_ROOT/pkgs.omarchy.org/$ARCH" # Repository (signed packages)
BUILD_OUTPUT_DIR="$BUILD_ROOT/build-output/$MIRROR/$ARCH" # Unsigned packages
REPO_DIR="$BUILD_ROOT/pkgs.omarchy.org/$MIRROR/$ARCH" # Repository (signed packages)
}
# Initialize architecture-specific directories with default ARCH
# Initialize architecture-specific directories with default ARCH and MIRROR
update_arch_paths