aboutsummaryrefslogtreecommitdiffhomepage
path: root/AppImage/gtk.yml
blob: ea233db52efc9f122094bd0885effb08263bac4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
app: sciteco-gtk

ingredients:
  packages:
    - sciteco-gtk
  exclude:
    # pkg2appimage blacklists Gtk, Pango and other libs from the GNOME stack,
    # so excluding glib as well should actually improve portability.
    - libglib2.0-0
  dist: focal
  sources:
    - deb http://archive.ubuntu.com/ubuntu/ focal main universe
#  ppas:
#    - robin-haberkorn/sciteco
  script:
    - wget -c "https://github.com/rhaberkorn/sciteco/releases/download/nightly/sciteco-common_nightly_ubuntu-20.04_all.deb"
    - wget -c "https://github.com/rhaberkorn/sciteco/releases/download/nightly/sciteco-gtk_nightly_ubuntu-20.04_amd64.deb"
  post_script:
    - dpkg -I sciteco-gtk*.deb | grep "Version:" | cut -d':' -f2 | cut -d'+' -f1 | sed 's/^[ ]*//g' >VERSION

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
  # Thinning: These documentation files are pointless.
  # SciTECO comes with its own online help system.
  - rm -rf ./usr/share/doc ./usr/share/man