app-id: pw.cloudef.bemenu-run
runtime: org.freedesktop.Platform
runtime-version: '20.08'
sdk: org.freedesktop.Sdk
command: bemenu-run
modules:
  - name: bemenu-run
    buildsystem: simple
    build-commands:
      - make bemenu-run x11 wayland curses PREFIX=/app
      - make install-base install-renderers PREFIX=/app
    sources:
      - type: git
        url: https://github.com/Cloudef/bemenu.git
        branch: master
finish-args:
  - --share=ipc
  - --socket=x11
  - --socket=wayland
  - --filesystem=host:ro
