mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 14:34:42 +01:00
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
This commit is contained in:
parent
6c1707ae0d
commit
a63bf816c4
5 changed files with 72 additions and 28 deletions
13
.SRCINFO
13
.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
|
||||
|
|
|
|||
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# makepkg build artifacts
|
||||
src/
|
||||
pkg/
|
||||
*.pkg.tar.zst
|
||||
|
||||
# Source directories
|
||||
noctalia-shell/
|
||||
26
PKGBUILD
26
PKGBUILD
|
|
@ -1,25 +1,29 @@
|
|||
# Maintainer: Kevin <github@kev314.dev>
|
||||
|
||||
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"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
40
test-build.fish
Executable file
40
test-build.fish
Executable file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue