From a63bf816c4c244bf2b5b52af7b990e0d83bbc11d Mon Sep 17 00:00:00 2001 From: Kevin Diaz Date: Tue, 26 Aug 2025 19:15:59 -0400 Subject: [PATCH] Update to version 2.3.0 - Bump version from 2.2.4 to 2.3.0 - Add noctalia-shell binary wrapper for easier launching and IPC calls - Remove redundant install file - Add automated build/test script (test-build.fish) - Add .gitignore to exclude build artifacts --- .SRCINFO | 13 ++++++------- .gitignore | 7 +++++++ PKGBUILD | 26 +++++++++++++++++++------- noctalia-shell.install | 14 -------------- test-build.fish | 40 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+), 28 deletions(-) create mode 100644 .gitignore delete mode 100644 noctalia-shell.install create mode 100755 test-build.fish diff --git a/.SRCINFO b/.SRCINFO index 891d19b3c276..120fc2e28d3f 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,23 +1,22 @@ pkgbase = noctalia-shell pkgdesc = A sleek and minimal desktop shell thoughtfully crafted for Wayland, built with Quickshell. - pkgver = 2.2.4 + pkgver = 2.3.0 pkgrel = 1 url = https://github.com/noctalia-dev/noctalia-shell - install = noctalia-shell.install arch = any license = MIT depends = quickshell depends = ttf-roboto depends = inter-font depends = ttf-material-symbols-variable-git + depends = gpu-screen-recorder + 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 = gpu-screen-recorder: Screen recording functionality - optdepends = brightnessctl: For internal/laptop monitor brightness - optdepends = ddcutil: For desktop monitor brightness - source = git+https://github.com/noctalia-dev/noctalia-shell.git#tag=v2.2.4 - sha256sums = ddbcc29e79472149c58a9613fb906e1dbf10652670db5645ce7f74c86b741c06 + source = git+https://github.com/noctalia-dev/noctalia-shell.git#tag=v2.3.0 + sha256sums = 8b4c372140ae2aa6659a824e2a42ebb5b5e798b43c8fce11682a6da59f646437 pkgname = noctalia-shell diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..62ce4ab1017a --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# makepkg build artifacts +src/ +pkg/ +*.pkg.tar.zst + +# Source directories +noctalia-shell/ \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD index a7c94f0feb45..fd18634bd2b1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,29 @@ # Maintainer: Kevin pkgname=noctalia-shell -pkgver=2.2.4 +pkgver=2.3.0 pkgrel=1 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') -install=noctalia-shell.install -depends=('quickshell' 'ttf-roboto' 'inter-font' 'ttf-material-symbols-variable-git') +depends=( + 'quickshell' + 'ttf-roboto' + 'inter-font' + 'ttf-material-symbols-variable-git' + 'gpu-screen-recorder' + 'brightnessctl' + 'ddcutil' +) optdepends=( 'cliphist: For clipboard history support' 'swww: Wallpaper animations and effects' 'matugen-bin: Material You color scheme generation' 'cava: Audio visualizer component' - 'gpu-screen-recorder: Screen recording functionality' - 'brightnessctl: For internal/laptop monitor brightness' - 'ddcutil: For desktop monitor brightness' ) source=("git+$url.git#tag=v$pkgver") -sha256sums=('ddbcc29e79472149c58a9613fb906e1dbf10652670db5645ce7f74c86b741c06') +sha256sums=('8b4c372140ae2aa6659a824e2a42ebb5b5e798b43c8fce11682a6da59f646437') package() { cd "$srcdir/$pkgname" @@ -27,4 +31,12 @@ package() { # 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" } diff --git a/noctalia-shell.install b/noctalia-shell.install deleted file mode 100644 index 25d8a542ce38..000000000000 --- a/noctalia-shell.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - echo "" - echo "╔══════════════════════════════════════════════════════════╗" - echo "║ NOCTALIA SHELL ║" - echo "╠══════════════════════════════════════════════════════════╣" - echo "║ Launch: qs -c noctalia ║" - echo "║ Config: /etc/xdg/quickshell/noctalia/ ║" - echo "╚══════════════════════════════════════════════════════════╝" - echo "" -} - -post_upgrade() { - post_install -} diff --git a/test-build.fish b/test-build.fish new file mode 100755 index 000000000000..26730153c367 --- /dev/null +++ b/test-build.fish @@ -0,0 +1,40 @@ +#!/usr/bin/fish --no-config +# Complete build and test script for AUR package + +echo "╔══════════════════════════════════════════════════════════╗" +echo "║ 🔄 UPDATING CHECKSUMS ║" +echo "╚══════════════════════════════════════════════════════════╝" +updpkgsums + +if test $status -ne 0 + echo "❌ Failed to update checksums. Exiting." + exit 1 +end + +echo "" +echo "╔══════════════════════════════════════════════════════════╗" +echo "║ 📄 GENERATING .SRCINFO ║" +echo "╚══════════════════════════════════════════════════════════╝" +makepkg --printsrcinfo > .SRCINFO + +echo "" +echo "╔══════════════════════════════════════════════════════════╗" +echo "║ 🔨 BUILDING PACKAGE ║" +echo "╚══════════════════════════════════════════════════════════╝" +makepkg -fsi + +if test $status -eq 0 + echo "" + echo "╔══════════════════════════════════════════════════════════╗" + echo "║ ✅ BUILD SUCCESSFUL ║" + echo "╚══════════════════════════════════════════════════════════╝" + echo "🧹 Cleaning up build artifacts..." + rm -rf src/ pkg/ noctalia-shell/ *.pkg.tar.zst + echo "✨ Cleanup complete!" +else + echo "" + echo "╔══════════════════════════════════════════════════════════╗" + echo "║ ❌ BUILD FAILED ║" + echo "╚══════════════════════════════════════════════════════════╝" + echo "🔍 Leaving artifacts for debugging." +end