- # appimage-builder recipe see https://appimage-builder.readthedocs.io for details
- version: 1
-
- script: |
- mkdir -p build/AppDir build/AppDir/usr/share/icons/hicolor/scalable/apps
- cp kosmorro/assets/svg/kosmorro-icon.svg build/AppDir/usr/share/icons/hicolor/scalable/apps/kosmorro.svg
- pip3 install --isolated --root="./build/AppDir" ./dist/kosmorro-*.whl
-
- AppDir:
- path: build/AppDir
- app_info:
- id: space.kosmorro.cli
- name: kosmorro
- icon: kosmorro
- version: latest
- exec: usr/bin/python3
- exec_args: $APPDIR/usr/local/bin/kosmorro $@
-
- apt:
- arch: amd64
- allow_unauthenticated: true
- sources:
- - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main restricted
- - sourceline: deb http://archive.ubuntu.com/ubuntu/ focal universe restricted
- include:
- - python3
- - python3-certifi
- - python3-dateutil
-
- files:
- include:
- - /usr/bin/sh
- - /usr/bin/bash
- - /usr/bin/env
- exclude:
- - usr/share/man
- - usr/share/doc/*/README.*
- - usr/share/doc/*/changelog.*
- - usr/share/doc/*/NEWS.*
- - usr/share/doc/*/TODO.*
-
- test:
- fedora-30:
- image: appimagecrafters/tests-env:fedora-33
- command: ./AppRun --latitude=50.5824 --longitude=3.0624
- use_host_x: true
- debian-stable:
- image: appimagecrafters/tests-env:debian-stable
- command: ./AppRun --latitude=50.5824 --longitude=3.0624
- use_host_x: true
- archlinux-latest:
- image: appimagecrafters/tests-env:archlinux-latest
- command: ./AppRun --latitude=50.5824 --longitude=3.0624
- use_host_x: true
- centos-7:
- image: appimagecrafters/tests-env:centos-7
- command: ./AppRun --latitude=50.5824 --longitude=3.0624
- use_host_x: true
- ubuntu-xenial:
- image: appimagecrafters/tests-env:ubuntu-xenial
- command: ./AppRun --latitude=50.5824 --longitude=3.0624
- use_host_x: true
-
- AppImage:
- arch: x86_64
- update-information: gh-releases-zsync|Kosmorro|kosmorro|latest|Kosmorro-*x86_64.AppImage.zsync
|