- User avatar and username display above action buttons - Panel on focused monitor, wallpaper overlay on all others - Keyboard exclusive on focused monitor, Escape to dismiss - Lock action calls moonlock directly - GTK theme colors (@theme_*) for consistent styling - Round action buttons, translucent card backgrounds - 22px icon lookup rendered at 64px (matches moonlock icons) - PKGBUILD for Arch Linux packaging - 63 tests passing
48 lines
1021 B
Bash
48 lines
1021 B
Bash
# ABOUTME: PKGBUILD for Moonset — Wayland session power menu.
|
|
# ABOUTME: Builds from git source with automatic version detection.
|
|
|
|
# Maintainer: Dominik Kressler
|
|
|
|
pkgname=moonset-git
|
|
pkgver=0.1.0.r8.g934a923
|
|
pkgrel=1
|
|
pkgdesc="A Wayland session power menu with GTK4 and Layer Shell"
|
|
arch=('any')
|
|
url="https://gitea.moonarch.de/nevaforget/moonset"
|
|
license=('MIT')
|
|
depends=(
|
|
'python'
|
|
'python-gobject'
|
|
'gtk4'
|
|
'gtk4-layer-shell'
|
|
)
|
|
makedepends=(
|
|
'git'
|
|
'python-build'
|
|
'python-installer'
|
|
'python-hatchling'
|
|
)
|
|
provides=('moonset')
|
|
conflicts=('moonset')
|
|
source=("git+${url}.git")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "$srcdir/moonset"
|
|
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/moonset"
|
|
rm -rf dist/
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/moonset"
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
|
|
# Example config
|
|
install -Dm644 config/moonset.toml "$pkgdir/etc/moonset/moonset.toml.example"
|
|
}
|