Changeset 90 for trunk/Install/snap


Ignore:
Timestamp:
Jun 7, 2024, 7:32:09 PM (7 months ago)
Author:
chronos
Message:
  • Modified: Snap package updated to core22.
  • Modified: Calculate different win tile value for different board sizes.
Location:
trunk/Install/snap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/snap/local/build.sh

    r84 r90  
    44
    55pushd ../../..
    6 snapcraft --debug --use-lxd
     6snapcraft --debug --use-lxd -v $@
    77popd
    88
  • trunk/Install/snap/snapcraft.yaml

    r84 r90  
    1515  * Selectable tile skins (linear, exponential, alpha, binary, Roman)
    1616confinement: strict
    17 base: core20
     17base: core22
    1818grade: stable
    1919icon: "Images/Logo 64x64.png"
     
    4343    source: .
    4444    source-type: local
    45     build-packages: 
     45    build-packages:
    4646    - fpc
    4747    - lazarus
     
    5151      snapcraftctl build
    5252      lazbuild --build-mode=Release Game2048.lpi
    53       ROOT=/root/parts/2048x/install
    54       install -d -m 755 $ROOT/usr/bin
    55       install -s -m 755 Game2048 $ROOT/usr/bin/Game2048
    56       install -d -m 755 $ROOT/usr/share/Game2048/languages
    57       install -m 755 Languages/Game2048.po $ROOT/usr/share/Game2048/languages
    58       install -m 755 Languages/Game2048.cs.po $ROOT/usr/share/Game2048/languages
    59       install -d -m 755 $ROOT/usr/share/applications
    60       install -m 755 Install/snap/local/2048.desktop $ROOT/usr/share/applications
    61       install -d -m 755 $ROOT/usr/share/pixmaps
    62       install -m 755 Images/2048.png $ROOT/usr/share/pixmaps
     53      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
     54      install -s -m 755 Game2048 $SNAPCRAFT_PART_INSTALL/usr/bin/Game2048
     55      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/Game2048/languages
     56      install -m 755 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/Game2048/languages
     57      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
     58      install -m 755 Install/snap/local/2048.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
     59      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     60      install -m 755 Images/2048.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    6361    stage:
    6462      - etc
     
    104102  2048x:
    105103    command: usr/bin/Game2048
    106     desktop: usr/share/applications/2048.desktop   
     104    desktop: usr/share/applications/2048.desktop
    107105    plugs:
    108106      - desktop
Note: See TracChangeset for help on using the changeset viewer.