From 6034484980ff77c3dde9d35cbcbad7e823f88c31 Mon Sep 17 00:00:00 2001 From: Kevin Diaz Date: Sun, 31 Aug 2025 16:18:18 -0400 Subject: [PATCH] refactor: streamline package structure and improve consistency - Add Co-Maintainer information for better package attribution - Remove swww optdepend and add wlsunset for NightLight support - Add conflicts with noctalia-shell-git to prevent dual installation - Remove wrapper script generation - Update installation path from noctalia to noctalia-shell - Improve PKGBUILD formatting with consistent spacing - Bump pkgrel to 2 for package rebuild This simplifies the stable package by removing unnecessary wrapper scripts while maintaining all essential functionality. The package now conflicts properly with the git version and has consistent optdepends. --- .SRCINFO | 3 ++- PKGBUILD | 22 ++++++++++------------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a38c979034f6..6291dc4f6875 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -13,9 +13,10 @@ pkgbase = noctalia-shell depends = brightnessctl depends = ddcutil optdepends = cliphist: For clipboard history support - optdepends = swww: Wallpaper animations and effects optdepends = matugen-bin: Material You color scheme generation optdepends = cava: Audio visualizer component + optdepends = wlsunset: For supporting NightLight + conflicts = noctalia-shell-git source = git+https://github.com/noctalia-dev/noctalia-shell.git#tag=v2.3.1 sha256sums = f6a7ce7260500aafec1d12f8de49361624e40351c0bb7fca161378af3974e082 diff --git a/PKGBUILD b/PKGBUILD index abeac7e0b646..758cfe7a3bd8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,12 +1,14 @@ # Maintainer: Kevin +# Co-Maintainer: Lysec pkgname=noctalia-shell pkgver=2.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="A sleek and minimal desktop shell thoughtfully crafted for Wayland, built with Quickshell." arch=('any') url="https://github.com/noctalia-dev/noctalia-shell" license=('MIT') + depends=( 'quickshell-git' 'ttf-roboto' @@ -16,12 +18,16 @@ depends=( 'brightnessctl' 'ddcutil' ) + optdepends=( 'cliphist: For clipboard history support' - 'swww: Wallpaper animations and effects' 'matugen-bin: Material You color scheme generation' 'cava: Audio visualizer component' + 'wlsunset: For supporting NightLight' ) + +conflicts=('noctalia-shell-git') + source=("git+$url.git#tag=v$pkgver") sha256sums=('f6a7ce7260500aafec1d12f8de49361624e40351c0bb7fca161378af3974e082') @@ -29,14 +35,6 @@ package() { cd "$srcdir/$pkgname" # Install shell files to quickshell system config directory - install -dm755 "$pkgdir/etc/xdg/quickshell/noctalia" - cp -r ./* "$pkgdir/etc/xdg/quickshell/noctalia/" - - # Create wrapper script - install -dm755 "$pkgdir/usr/bin" - cat > "$pkgdir/usr/bin/noctalia-shell" << 'EOF' -#!/bin/bash -exec qs -c noctalia "$@" -EOF - chmod +x "$pkgdir/usr/bin/noctalia-shell" + install -dm755 "$pkgdir/etc/xdg/quickshell/noctalia-shell" + cp -r ./* "$pkgdir/etc/xdg/quickshell/noctalia-shell/" }