id: "org.freedesktop.Platform.Icontheme.{THEME}" branch: "3.22" runtime: org.freedesktop.Platform build-extension: true sdk: org.freedesktop.Sdk runtime-version: "19.08" appstream-compose: false separate-locales: false modules: - name: base sources: - type: git url: https://github.com/daniruiz/flat-remix.git commit: 7e2dc68a3374b4c538a8ea4d85c6fc9399618622 - type: script dest-filename: gen.sh commands: - make install PREFIX="/tmp" - cp -rav "/tmp/share/icons/$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1)/." "$FLATPAK_DEST" buildsystem: simple build-commands: - ./gen.sh - name: appstream buildsystem: simple build-commands: - mkdir -p $FLATPAK_DEST/share/appdata - echo '' > "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml" - echo '' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml" - echo ' org.freedesktop.Platform.Icontheme.{THEME}' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml" - echo ' CC0-1.0' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml" - echo '' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml" - appstream-compose --basename="org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1)" --prefix=$FLATPAK_DEST --origin=builds "org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1)"