diff --git a/packages/b/bombermaaan/package.yml b/packages/b/bombermaaan/package.yml index c01f5946ab65..4dc6352dc3af 100644 --- a/packages/b/bombermaaan/package.yml +++ b/packages/b/bombermaaan/package.yml @@ -1,6 +1,6 @@ name : bombermaaan version : 2.2.8.2275 -release : 6 +release : 7 source : - https://github.com/bjaraujo/Bombermaaan/archive/refs/tags/v2.2.8.2275.tar.gz : 34a867305d8db32797d0d103d915103be1fabd78305b1bad4b359de9976c35c0 homepage : https://github.com/bjaraujo/Bombermaaan @@ -14,14 +14,20 @@ builddeps : - pkgconfig(sdl2) setup : | cd trunk - %cmake -DLOAD_RESOURCES_FROM_FILES:BOOL=ON + %cmake_ninja -DLOAD_RESOURCES_FROM_FILES:BOOL=ON build : | - %make -C trunk + cd trunk + %ninja_build install : | - install -Dm00755 trunk/bin/Bombermaaan $installdir/usr/share/Bombermaaan/bombermaaan + # Install binary file and game data to usr + install -Dm00755 trunk/solusBuildDir/bin/Bombermaaan $installdir/usr/share/Bombermaaan/bombermaaan install -dm00755 $installdir/usr/bin ln -sv ../share/Bombermaaan/bombermaaan $installdir/usr/bin/bombermaaan cp -r trunk/res/{images,sounds} $installdir/usr/share/Bombermaaan cp -r trunk/levels $installdir/usr/share/Bombermaaan - install -Dm00644 installers/bombermaaan.png -t $installdir/usr/share/pixmaps - install -Dm00644 installers/bombermaaan.desktop -t $installdir/usr/share/applications + # Install icon, desktop file and appstream metadata + install -Dm00644 installers/bombermaaan.png -t $installdir/usr/share/icons/hicolor/32x32/apps + install -Dm00644 installers/bombermaaan.svg -t $installdir/usr/share/icons/hicolor/scalabe/apps + install -Dm00644 installers/bombermaaan.desktop $installdir/usr/share/applications/com.github.bjaraujo.Bombermaaan.desktop + sed -i 's/release version="2.1.8.2208" date="2021-01-24"/release version="2.2.8.2275" date="2023-12-24"/' installers/bombermaaan.appdata.xml #Update version accordingly + install -Dm00644 installers/bombermaaan.appdata.xml -t $installdir/usr/share/appdata diff --git a/packages/b/bombermaaan/pspec_x86_64.xml b/packages/b/bombermaaan/pspec_x86_64.xml index bc65e9cf99ae..67dbf598561b 100644 --- a/packages/b/bombermaaan/pspec_x86_64.xml +++ b/packages/b/bombermaaan/pspec_x86_64.xml @@ -3,8 +3,8 @@ bombermaaan https://github.com/bjaraujo/Bombermaaan - Algent Albrahimi - algent@protonmail.com + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com GPL-3.0-or-later games.arcade @@ -353,17 +353,19 @@ /usr/share/Bombermaaan/sounds/wall_clap_1.ogg /usr/share/Bombermaaan/sounds/wall_clap_2.ogg /usr/share/Bombermaaan/sounds/winner.ogg - /usr/share/applications/bombermaaan.desktop - /usr/share/pixmaps/bombermaaan.png + /usr/share/appdata/bombermaaan.appdata.xml + /usr/share/applications/com.github.bjaraujo.Bombermaaan.desktop + /usr/share/icons/hicolor/32x32/apps/bombermaaan.png + /usr/share/icons/hicolor/scalabe/apps/bombermaaan.svg - - 2023-12-24 + + 2024-01-22 2.2.8.2275 Packaging update - Algent Albrahimi - algent@protonmail.com + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com \ No newline at end of file