From 97d34dfecef7b0306b6969ad867d051b9f87fd45 Mon Sep 17 00:00:00 2001
From: Nick White <git@njw.name>
Date: Fri, 11 Nov 2022 14:13:02 +0000
Subject: rescribe: make flatpak use git rather than local directory to build

---
 cmd/rescribe/xyz.rescribe.rescribe.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/cmd/rescribe/xyz.rescribe.rescribe.yml b/cmd/rescribe/xyz.rescribe.rescribe.yml
index 10cb0f1..04b8a5d 100644
--- a/cmd/rescribe/xyz.rescribe.rescribe.yml
+++ b/cmd/rescribe/xyz.rescribe.rescribe.yml
@@ -25,8 +25,9 @@ modules:
       - printf '#!/bin/sh\nTMPDIR=$XDG_RUNTIME_DIR rescribe-bin\n' > $FLATPAK_DEST/bin/rescribe
       - chmod 755 $FLATPAK_DEST/bin/rescribe
     sources:
-      - type: dir # not git 'til the makefile with nogenerate rule there
-        path: ../..
+      - type: git
+        url: https://github.com/rescribe/bookpipeline
+        branch: master
       - type: archive
         url: https://rescribe.xyz/rescribe/modules-20221030-3a6024.tar.xz
         sha256: 98fdbe455f7cb916cda570d0a30fca0de331809d4549e655e25b95e9be119856
@@ -34,9 +35,12 @@ modules:
       - type: file
         url: https://rescribe.xyz/rescribe/embeds/getgbook-linux-cac42fb.zip
         sha256: c3b40a1c13da613d383f990bda5dd72425a7f26b89102d272a3388eb3d05ddb6
+        dest: cmd/rescribe
       - type: file
         url: https://rescribe.xyz/rescribe/embeds/tesseract-linux-v5.0.0-alpha.20210510.zip
         sha256: 81cfba632b8aaf0a00180b1aa62d357d50f343b0e9bd51b941ee14c289ccd889
+        dest: cmd/rescribe
       - type: file
         url: https://rescribe.xyz/rescribe/embeds/tessdata.20220322.zip
         sha256: 725fd570a3c3dc0eba9463248ce47a8646db8bafb198d428d6bb8f0be18540ee
+        dest: cmd/rescribe
-- 
cgit v1.2.1-24-ge1ad