This AUR is out of date since a while - so I fixed it myself and upgraded to latest stable version 0.19.1 and also added support for aarch64 (like Asahi Linux).
Works great on my machine!
I pushed a branch here: https://github.com/mkurz/aur/tree/0.19_aarch64
It just has one commit on top of your branch: https://github.com/mkurz/aur/commits/0.19_aarch64/
The commit itself: https://github.com/mkurz/aur/commit/05ce32bb9408f2f7340c3fd0d8ca2d8b909dcaf5
That branch
- updates MarkText from 0.17.1 to the stable 0.19.1 release
- adds native aarch64 support while retaining x86_64
- upgrades the Arch system Electron dependency from Electron 15 to Electron 42, without bundling a private Electron copy
- migrates the package build from the old Yarn/electron-vue layout to the new pnpm monorepo and electron-vite layout
- adds pnpm 11 compatibility while preserving the locked dependencies
- rebuilds ced, keytar, and native-keymap against the installed system Electron
- fixes command-line argument handling when MarkText is launched through a shared Electron executable
- redirects application resources and ripgrep usage to their system-package locations
- packages the new application resources, desktop metadata, icons, documentation, and ARM64 binaries correctly
- derives the Arch pkgver from the upstream version
- updates dependencies, source checksums, and .SRCINFO
- successfully builds with makepkg -scAL and runs as MarkText 0.19.1 using Electron 42 on ARM64
You can apply that code easily in your repo with:
git remote add mkurz git@github.com:mkurz/aur.git
git fetch mkurz 0.19_aarch64
git merge mkurz/0.19_aarch64
Pinned Comments
alerque commented on 2023-11-02 11:09 (UTC)
PSA: The build process for this package is known to be broken because it requires older versions of stuff than is available in Arch now. The only way I know of to install it is to use packages that were built back when the
npmin Arch was older. You can use my user repository to get the latest successful build.