Previously only an update manager. Now has three tabs: - Search: pacman -Ss query, shows results with installed badge, Install button - Installed: pacman -Q list with scrollable rows, Remove button - Updates: checkupdates list, Update All runs pkexec pacman -Syu Features: - Editable search input field with cursor, Enter to search - Row selection with highlight, double-click toggles - Scrollable package lists with scrollbar - Live log view + progress bar during install/remove/upgrade - Spinner animation during async operations - Cancel button during running operations - Error/success status display - Same dark-navy palette as rest of OrionOS
23 lines
445 B
Makefile
23 lines
445 B
Makefile
CC = gcc
|
|
|
|
PKG_C := $(shell pkg-config --cflags x11 xft 2>/dev/null)
|
|
PKG_L := $(shell pkg-config --libs x11 xft 2>/dev/null)
|
|
|
|
ifeq ($(PKG_C),)
|
|
$(error "Required: libx11-dev libxft-dev")
|
|
endif
|
|
|
|
CFLAGS = -Wall -Wextra -O2 $(PKG_C)
|
|
LDFLAGS = $(PKG_L)
|
|
|
|
BIN = orionpkg
|
|
|
|
.PHONY: all clean install
|
|
all: $(BIN)
|
|
$(BIN): orionpkg.c
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
|
install: $(BIN)
|
|
install -Dm755 $(BIN) /usr/local/bin/$(BIN)
|
|
clean:
|
|
rm -f $(BIN)
|