summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
-rwxr-xr-xmarktext.sh2
3 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 71b14490d18..e28190f2226 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = marktext
pkgdesc = A simple and elegant open-source markdown editor that focused on speed and usability
pkgver = 0.16.2
- pkgrel = 1
+ pkgrel = 2
url = https://marktext.app
arch = x86_64
license = MIT
@@ -11,7 +11,7 @@ pkgbase = marktext
makedepends = moreutils
makedepends = yarn
makedepends = yq
- depends = electron
+ depends = electron7
depends = libxkbfile
depends = libsecret
depends = ripgrep
@@ -19,7 +19,7 @@ pkgbase = marktext
source = marktext.sh
source = marktext-arg-handling.patch
sha256sums = d39f3d4c3008cacdcefbe6ad9e1e19d803d3c619106878c75f8a5cc38254597c
- sha256sums = c5af6eabe525af458df2ccfac6098092746dd0ae23225c131100bb6e37170f86
+ sha256sums = 15a964fcc3f6bd7bf1c03566d35201032aecde994446533cad1f810e9b880f14
sha256sums = c754a1cad52d10a38eeddb9293ce0a4540296c6adbb47eb5311eaaeded150a01
pkgname = marktext
diff --git a/PKGBUILD b/PKGBUILD
index 45f8f0e4ea5..3fadf3de92d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@
pkgname=marktext
pkgver=0.16.2
-pkgrel=1
+pkgrel=2
pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability'
arch=('x86_64')
url='https://marktext.app'
license=('MIT')
-depends=('electron'
+depends=('electron7'
'libxkbfile'
'libsecret'
'ripgrep')
@@ -25,11 +25,11 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/marktext/marktext/archive/v
"$pkgname.sh"
"$pkgname-arg-handling.patch")
sha256sums=('d39f3d4c3008cacdcefbe6ad9e1e19d803d3c619106878c75f8a5cc38254597c'
- 'c5af6eabe525af458df2ccfac6098092746dd0ae23225c131100bb6e37170f86'
+ '15a964fcc3f6bd7bf1c03566d35201032aecde994446533cad1f810e9b880f14'
'c754a1cad52d10a38eeddb9293ce0a4540296c6adbb47eb5311eaaeded150a01')
-_electronDist=$(dirname $(realpath $(which electron)))
-_electronVersion=$(electron --version | sed -e 's/^v//')
+_electronDist=$(dirname $(realpath $(which electron7)))
+_electronVersion=$(electron7 --version | sed -e 's/^v//')
prepare() {
cd "$pkgname-$pkgver"
diff --git a/marktext.sh b/marktext.sh
index 8bfc08fdf0e..93fa48d9cc4 100755
--- a/marktext.sh
+++ b/marktext.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
-exec electron /usr/lib/marktext/app.asar "$@"
+exec electron7 /usr/lib/marktext/app.asar "$@"