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

Git Clone URL: (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:
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
@@ -7,13 +7,13 @@

 pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability'
@@ -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 \
     node .electron-vue/build.js
@@ -70,7 +71,7 @@ package() {
     install -Dm755 "$" "$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:

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

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

This package can/should now be build against electron13, which offers improved Wayland support:

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.