Remove the dynamic plugin loader (pacman/apt/pkg/universal) and drive the UI directly through PacmanManager. Rename sources and headers to kebab-case to match the project's file naming convention. Generated with Codebuff 🤖 Co-Authored-By: Codebuff <noreply@codebuff.com>
27 lines
467 B
Bash
27 lines
467 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "🔨 Compilation de PacManager..."
|
|
|
|
# Create build directory
|
|
mkdir -p build
|
|
cd build
|
|
|
|
# Configure
|
|
echo "⚙️ Configuration CMake..."
|
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
# Build everything
|
|
echo "🏗️ Compilation..."
|
|
make -j$(nproc)
|
|
|
|
echo ""
|
|
echo "✅ Compilation terminée !"
|
|
echo ""
|
|
echo "📋 Pour lancer :"
|
|
echo " ./PacManager"
|
|
echo ""
|
|
echo "📋 Pour installer :"
|
|
echo " sudo make install"
|
|
echo ""
|