Skip to content

Commit 274a6f8

Browse files
committed
Simplify the flatpak build script
1 parent d0e6392 commit 274a6f8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

qt/io.github.kovzol.bibref.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ modules:
3333
- -DBUILD_SHARED_LIBS=ON
3434
- -UPROJECT_SOURCE_DIR
3535
- -DPROJECT_SOURCE_DIR=/app/share/bibref-qt
36+
# The cmake machinery will put the required databases in $XDG_DATA_HOME (if it is set).
37+
# By setting that value we put the database to /app/tmp/.sword temporarily
38+
# and later we copy it to /app/share/sword in the post-install step:
3639
build-options:
3740
env:
3841
XDG_DATA_HOME: /app/tmp
3942
sources:
4043
- type: archive
4144
url: https://github.com/kovzol/bibref/archive/85f8636bd3ff427c6678022017397bfb42785742.zip
4245
sha256: f98542b0f91323627e77bb7839252056c3055c364742d12578a505335367e27d
43-
- name: finalize
44-
buildsystem: simple
45-
build-commands:
46+
post-install:
4647
- mv /app/tmp/.sword/* /app/share/sword

0 commit comments

Comments
 (0)