File appimage-gtk.yml of Package sciteco

app: sciteco-gtk

ingredients:
  packages:
    - sciteco-gtk

script:
  # FIXME: There should perhaps be a unique name in the desktop file, so it does not conflict with the Curses version.
  - mv ./usr/share/applications/sciteco.desktop ./sciteco-gtk.desktop
  - cp ./usr/share/icons/hicolor/256x256/apps/sciteco.png ./sciteco.png
  - rm -rf ./usr/share/icons
  - mkdir -p ./usr/share/metainfo/
  - wget -O ./usr/share/metainfo/sciteco-gtk.appdata.xml -c "https://git.fmsbw.de/sciteco/plain/AppImage/sciteco-gtk.appdata.xml"
  # Thinning: These documentation files are pointless.
  # SciTECO comes with its own online help system.
  - rm -rf ./usr/share/doc ./usr/share/man
openSUSE Build Service is sponsored by