diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-05-22 19:52:33 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-05-22 19:53:08 +0300 |
commit | b6d1e87092eabb464f33c5087b698672f5251948 (patch) | |
tree | ddc43fce73006299209047fe9c59b85506afa6cc /AppImage/curses.yml | |
parent | 8c79ce1e1639edf1eae0c8323fd301948ebb84e3 (diff) | |
download | sciteco-b6d1e87092eabb464f33c5087b698672f5251948.tar.gz |
build and upload AppImages as part of nightly builds
Diffstat (limited to 'AppImage/curses.yml')
-rwxr-xr-x | AppImage/curses.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/AppImage/curses.yml b/AppImage/curses.yml new file mode 100755 index 0000000..d219c0b --- /dev/null +++ b/AppImage/curses.yml @@ -0,0 +1,31 @@ +app: sciteco-curses + +# We currently use paths hardcoded at build-time. +# Alternatively, it would be possible to customize the AppRun script or +# add a wrapper that sets $SCITECOPATH. +union: true + +ingredients: + packages: + - sciteco-curses + 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-curses_nightly_ubuntu-20.04_all.deb" + post_script: + - dpkg -I sciteco-curses*.deb | grep "Version:" | cut -d':' -f2 | cut -d'+' -f1 | sed 's/^[ ]*//g' >VERSION + +script: + # This is currently not installed by sciteco-curses. + # FIXME: There should perhaps be a unique name in the desktop file, so it does not conflict with the Gtk version. + - wget -O sciteco-curses.desktop -c "https://raw.githubusercontent.com/rhaberkorn/sciteco/master/src/sciteco.desktop" + - sed -i -e 's@gsciteco@sciteco@g' sciteco-curses.desktop + - echo 'Terminal=true' >>sciteco-curses.desktop + - wget -O sciteco.png -c "https://raw.githubusercontent.com/rhaberkorn/sciteco/master/ico/sciteco-256.png" + # Thinning: These documentation files are pointless. + # SciTECO comes with its own online help system. + - rm -rf ./usr/share/doc ./usr/share/man |