File better-sqlite3-no-download.patch of Package signal-desktop

--- vendor/node_modules/@signalapp/better-sqlite3/package.json.orig	2023-01-12 21:01:20.843681542 +0100
+++ vendor/node_modules/@signalapp/better-sqlite3/package.json	2023-01-12 21:32:35.715656667 +0100
@@ -34,7 +34,7 @@
     "sqlite3": "^5.0.2"
   },
   "scripts": {
-    "install": "npm run download && npm run build-release",
+    "install": "npm run build-release",
     "build-release": "node-gyp rebuild --release",
     "build-debug": "node-gyp rebuild --debug",
     "rebuild-release": "npm run lzz && npm run build-release",
--- vendor/node_modules/@signalapp/better-sqlite3/deps/sqlite3.gyp.orig	2023-01-12 19:16:15.592999000 +0100
+++ vendor/node_modules/@signalapp/better-sqlite3/deps/sqlite3.gyp	2023-01-12 22:40:16.943602784 +0100
@@ -14,7 +14,11 @@
       'hard_dependency': 1,
       'actions': [{
         'action_name': 'extract_sqlite3',
-        'inputs': ['sqlcipher.tar.gz'],
+        'inputs': [
+          'sqlite3/sqlite3.c',
+          'sqlite3/sqlite3.h',
+          'sqlite3/sqlite3ext.h',
+        ],
         'outputs': [
           '<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3.c',
           '<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3.h',
@@ -29,7 +33,7 @@
             ],
           }],
         ],
-        'action': ['node', 'extract.js', '<(SHARED_INTERMEDIATE_DIR)/sqlite3'],
+        'action': ['cp', '-lr', 'sqlite3', '-t', '<(SHARED_INTERMEDIATE_DIR)'],
       }],
     },
     {
openSUSE Build Service is sponsored by