summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaboon Egon2022-10-06 18:25:50 +0200
committerTaboon Egon2022-10-06 18:25:50 +0200
commit6d6bba47cdd90da400a862f0cf39172f0542b5c0 (patch)
treede32515402745c277e0fd713ba9433e0c1a4b4d0
parent6393e079519cf763fe6df9961b95ed096162d5b2 (diff)
downloadaur-scratch3-bin.tar.gz
Change of electron dependency: using electron13-bin instead of electron13
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 81d370ceed63..6d4e9c0c6ce5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = scratch3-bin
pkgdesc = Scratch 3.0 as a self-contained desktop application
pkgver = 3.29.1
- pkgrel = 1
+ pkgrel = 2
url = https://scratch.mit.edu
arch = x86_64
arch = i686
arch = aarch64
arch = arm7h
license = custom:BSD-3-Clause
- makedepends = electron13
+ makedepends = electron13-bin
makedepends = p7zip
makedepends = asar
depends = c-ares
diff --git a/PKGBUILD b/PKGBUILD
index 9cea715bd32f..40ed4650d4a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,14 @@ pkgname=scratch3-bin
_pkgname=scratch3
conflicts=("scratch3")
pkgver=3.29.1
-pkgrel=1
+pkgrel=2
pkgdesc="Scratch 3.0 as a self-contained desktop application"
arch=("x86_64" "i686" "aarch64" "arm7h")
url="https://scratch.mit.edu"
license=("custom:BSD-3-Clause")
depends=("c-ares" "ffmpeg" "flac" "gtk3" "libevent" "libxslt" "minizip" "nss" "re2" "snappy")
optdepends=("xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)")
-makedepends=('electron13' 'p7zip' 'asar')
+makedepends=('electron13-bin' 'p7zip' 'asar')
source=("https://downloads.scratch.mit.edu/desktop/Scratch%20$pkgver%20Setup.exe"
"https://raw.githubusercontent.com/LLK/scratch-desktop/develop/LICENSE"
"${_pkgname}.desktop"
@@ -38,8 +38,11 @@ prepare() {
mv $pkgname/electron $pkgname/$_pkgname
# All license files in one place
- mv $pkgname/LICENSE LICENSE-electron
- mv $pkgname/LICENSES.chromium.html LICENSES.chromium.html
+ #mv $pkgname/LICENSE LICENSE-electron
+ #mv $pkgname/LICENSES.chromium.html LICENSES.chromium.html
+# Temporary fix for using electron13-bin
+ cp /usr/share/licenses/electron13-bin/LICENSE LICENSE-electron
+ cp /usr/share/licenses/electron13-bin/LICENSES.chromium.html LICENSES.chromium.html
# This file is useless
rm $pkgname/resources/default_app.asar