Package Details: marktext-git 0.16.3.r2.gf501ef4-1

Git Clone URL: https://aur.archlinux.org/marktext-git.git (read-only, click to copy)
Package Base: marktext-git
Description: A simple and elegant open-source markdown editor that focused on speed and usability
Upstream URL: https://marktext.app
Licenses: MIT
Conflicts: marktext
Provides: marktext-0.16.3.r2.gf501ef4
Submitter: dopsi
Maintainer: alerque
Last Packager: alerque
Votes: 4
Popularity: 0.000000
First Submitted: 2018-05-01 08:52 (UTC)
Last Updated: 2024-03-28 00:19 (UTC)

Latest Comments

1 2 Next › Last »

cubercsl commented on 2022-03-28 10:38 (UTC)

The following patch works for me on recent commit.

diff --git a/PKGBUILD b/PKGBUILD
index 9743029..eb4f29a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,13 @@

 pkgname=marktext-git
 _pkgname=${pkgname%-git}
-pkgver=0.16.3.r2.gf501ef4
+pkgver=0.17.0.r15.g2bb405a
 pkgrel=1
 pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability'
 arch=(x86_64)
 url='https://marktext.app'
 license=(MIT)
-_electron=electron11
+_electron=electron17
 depends=("$_electron"
          libxkbfile
          libsecret
@@ -42,7 +42,7 @@ pkgver() {
 }

 prepare() {
-    local _electronDist=$(dirname $(realpath $(which $_electron)))
+    local _electronDist=$(pacman -Qql $_electron | grep -E "/usr/lib/electron[[:digit:]]*/$")
     local _electronVersion=$($_electron --version | sed -e 's/^v//')
     cd "$pkgname"
     jq 'del(.devDependencies["electron"], .scripts["preinstall", "postinstall"])' \
@@ -58,6 +58,7 @@ prepare() {

 build() {
     cd "$pkgname"
+    export GYP_DEFINES="openssl_fips="
     yarn --cache-folder "$srcdir/node_modules" run \
         electron-rebuild
     node .electron-vue/build.js
@@ -70,7 +71,7 @@ package() {
     install -Dm755 "$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname"
     local _dist=build/linux-unpacked/resources
     install -Dm644 -t "$pkgdir/usr/lib/$_pkgname/" "$_dist/app.asar"
-    cp -a "$_dist"/{app.asar.unpacked,hunspell_dictionaries} "$pkgdir/usr/lib/$_pkgname/"
+    cp -a "$_dist"/app.asar.unpacked "$pkgdir/usr/lib/$_pkgname/"
     local _rg_path="$pkgdir/usr/lib/marktext/app.asar.unpacked/node_modules/vscode-ripgrep/bin/"
     mkdir -p $_rg_path
     ln -sf /usr/bin/rg "$_rg_path"

alerque commented on 2022-01-10 10:43 (UTC)

I'm having trouble rebuilding this right now but it appears to have to do with the colors debacle.

alerque commented on 2022-01-10 09:38 (UTC)

@nyanpasu64 Thanks for the heads up and link, I'll try to get this updated. For future reference I'm usually open to patches (via comments prepped using git format-patch or as PRs on this repo).

nyanpasu64 commented on 2022-01-09 10:42 (UTC)

It's electron15 now: https://github.com/marktext/marktext/blob/30ed5af27470b08bd34bffe8329d82286f6426e8/package.json#L118

alerque commented on 2021-12-11 20:02 (UTC)

@Schlaefer and @bader: Thanks for the heads up, update incoming.

bader commented on 2021-12-02 13:55 (UTC)

Please remove electron11 and update the package dependencies to electron13 https://github.com/marktext/marktext/commit/2362a17646674202745cb5e9affcb4a11c96d8cd

Schlaefer commented on 2021-12-01 11:57 (UTC)

This package can/should now be build against electron13, which offers improved Wayland support: https://github.com/marktext/marktext/pull/2670

dopsi commented on 2019-05-15 08:45 (UTC)

@caleb I'm sorry I did not answer earlier, but I do not have time to do it now, so I'll disown the package.