From 941d348030fa6502ff2bf02c824b25c11e393006 Mon Sep 17 00:00:00 2001
From: ericgaspar <junk.eg@free.fr>
Date: Sun, 27 Jun 2021 17:39:40 +0200
Subject: [PATCH] Fix

---
 conf/app.src    |  6 +++---
 manifest.json   | 13 ++++++-------
 scripts/install |  1 -
 3 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/conf/app.src b/conf/app.src
index 458c38c..a993b4d 100644
--- a/conf/app.src
+++ b/conf/app.src
@@ -1,6 +1,6 @@
-SOURCE_URL=https://github.com/YunoHost-Apps/scratch_ynh/releases/download/3.0/scratch.zip
-SOURCE_SUM=8f7e02b0832c7bbe963acdf57c729c5ee8da9b811de72c5ebd0f3d95f8937f3f0babc9919d6278f5e5a87d4284abfe0a6fa5baa1edbf429bdb79fc61634542e0
-SOURCE_SUM_PRG=sha512sum
+SOURCE_URL=https://github.com/YunoHost-Apps/scratch_ynh/releases/download/3.0-beta/scratch-gui-3.0.zip
+SOURCE_SUM=1c0c20b696547fb71af4848af034d2da21d0b1394bb2a6823a0e46fdfbb5fce8
+SOURCE_SUM_PRG=sha256sum
 SOURCE_FORMAT=zip
 SOURCE_IN_SUBDIR=false
 SOURCE_FILENAME=scratch.zip
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index 44ad52e..4009dbe 100644
--- a/manifest.json
+++ b/manifest.json
@@ -3,19 +3,19 @@
     "id": "scratch",
     "packaging_format": 1,
     "description": {
-        "en": "Scratch package for YunoHost.",
-        "fr": "Scratch pour YunoHost."
+        "en": "Programming language to create your own interactive stories, games, and animations",
+        "fr": "Langage de programmation pourcréer vos propres histoires, jeux et animations interactifs"
     },
     "version": "3.0~ynh1",
     "url": "https://scratch.mit.edu/",
     "upstream": {
-        "license": "non-free",
+        "license": "BSD-3-Clause",
         "website": "https://scratch.mit.edu/",
-        "demo": "https://demo.example.com",
+        "demo": "https://llk.github.io/scratch-gui/develop/",
         "admindoc": "https://fr.scratch-wiki.info/wiki/Scratch_3.0",
-        "code": "https://some.forge.com/example/example"
+        "code": "https://github.com/LLK/scratch-gui"
     },
-    "license": "non-free",
+    "license": "BSD-3-Clause",
     "maintainer": {
         "name": "liberodark",
         "email": "liberodark@gmail.com"
@@ -33,7 +33,6 @@
                 "type": "domain",
                 "example": "example.com"
             },
-
             {
                 "name": "path",
                 "type": "path",
diff --git a/scripts/install b/scripts/install
index 73e3146..ec138d9 100644
--- a/scripts/install
+++ b/scripts/install
@@ -103,4 +103,3 @@ ynh_systemd_action --service_name=nginx --action=reload
 #=================================================
 
 ynh_script_progression --message="Installation of $app completed" --last
-