Skip to content

Commit

Permalink
Simplify the flatpak build script
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Mar 6, 2024
1 parent d0e6392 commit 274a6f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qt/io.github.kovzol.bibref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ modules:
- -DBUILD_SHARED_LIBS=ON
- -UPROJECT_SOURCE_DIR
- -DPROJECT_SOURCE_DIR=/app/share/bibref-qt
# The cmake machinery will put the required databases in $XDG_DATA_HOME (if it is set).
# By setting that value we put the database to /app/tmp/.sword temporarily
# and later we copy it to /app/share/sword in the post-install step:
build-options:
env:
XDG_DATA_HOME: /app/tmp
sources:
- type: archive
url: https://github.com/kovzol/bibref/archive/85f8636bd3ff427c6678022017397bfb42785742.zip
sha256: f98542b0f91323627e77bb7839252056c3055c364742d12578a505335367e27d
- name: finalize
buildsystem: simple
build-commands:
post-install:
- mv /app/tmp/.sword/* /app/share/sword

0 comments on commit 274a6f8

Please sign in to comment.