mirror of
https://github.com/archlinux/aur.git
synced 2026-02-20 12:33:42 +01:00
- 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
40 lines
2.7 KiB
Fish
Executable file
40 lines
2.7 KiB
Fish
Executable file
#!/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
|