18 lines
786 B
Bash
Executable File
18 lines
786 B
Bash
Executable File
#!/bin/bash
|
|
# install-arch.sh — build lightgui (LightGUI) on Arch Linux
|
|
# Tested 2026-11-28 in LXC container lightgui-arch (archlinux current, amd64, IP 10.0.3.50).
|
|
# Run as root (or prefix pacman commands with sudo) on a fresh system.
|
|
# Gotcha: the LXC Arch image ships with an empty pacman keyring, so package
|
|
# signatures fail ("unknown trust") until you run pacman-key --init and
|
|
# pacman-key --populate archlinux. That step is included below and is
|
|
# required before any pacman install on a fresh LXC Arch container.
|
|
set -e
|
|
pacman-key --init
|
|
pacman-key --populate archlinux
|
|
pacman -Syu --noconfirm
|
|
pacman -S --noconfirm --needed git base-devel pkgconf gtk3 glade cmake gdb xorg-server-xvfb python
|
|
git clone https://github.com/cnmcdee/lightgui.git
|
|
cd lightgui
|
|
make
|
|
ls -l lightgui
|