Changeset 75 for trunk


Ignore:
Timestamp:
Dec 15, 2021, 10:35:26 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Simplified snapcraft.yaml file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/snap/snapcraft.yaml

    r66 r75  
    2121    source: .
    2222    source-type: local
    23     build-packages: 
     23    build-packages:
    2424    - fpc
    2525    - lazarus
     
    2929      snapcraftctl build
    3030      lazbuild --build-mode=Release vCardStudio.lpi
    31       ROOT=/root/parts/vcard-studio/install
    32       install -d -m 755 $ROOT/usr/bin
    33       install -s -m 755 vCardStudio $ROOT/usr/bin/vCardStudio
    34       install -d -m 755 $ROOT/usr/share/vCardStudio/Languages
    35       install -m 755 Languages/vCardStudio.po $ROOT/usr/share/vCardStudio/Languages
    36       install -m 755 Languages/vCardStudio.cs.po $ROOT/usr/share/vCardStudio/Languages
    37       install -m 755 Languages/UFormAbout.po $ROOT/usr/share/vCardStudio/Languages
    38       install -m 755 Languages/UFormAbout.cs.po $ROOT/usr/share/vCardStudio/Languages
    39       install -d -m 755 $ROOT/usr/share/vCardStudio/Images
    40       install -m 755 Images/Profile.png $ROOT/usr/share/vCardStudio/Images
    41       install -d -m 755 $ROOT/usr/share/applications
    42       install -m 755 Install/snap/local/vCardStudio.desktop $ROOT/usr/share/applications
    43       install -d -m 755 $ROOT/usr/share/pixmaps
    44       install -m 755 Images/vCard\ Studio.png $ROOT/usr/share/pixmaps
     31      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
     32      install -s -m 755 vCardStudio $SNAPCRAFT_PART_INSTALL/usr/bin/vCardStudio
     33      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
     34      install -m 755 Languages/vCardStudio.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
     35      install -m 755 Languages/vCardStudio.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
     36      install -m 755 Languages/UFormAbout.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
     37      install -m 755 Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
     38      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Images
     39      install -m 755 Images/Profile.png $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Images
     40      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
     41      install -m 755 Install/snap/local/vCardStudio.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
     42      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     43      install -m 755 Images/vCard\ Studio.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    4544    stage:
    4645      - etc
Note: See TracChangeset for help on using the changeset viewer.