Package Details: marktext 0.13.65-1

Git Clone URL: https://aur.archlinux.org/marktext.git (read-only)
Package Base: marktext
Description: Next generation markdown editor
Upstream URL: https://marktext.github.io/website/
Licenses: MIT
Submitter: dopsi
Maintainer: dopsi (dpeukert)
Last Packager: dopsi
Votes: 4
Popularity: 1.110148
First Submitted: 2018-05-01 08:22
Last Updated: 2019-01-08 18:03

Latest Comments

ritchy commented on 2019-01-04 14:45

Hi, same error : ==> Starting package()... install: cannot stat 'build/linux-unpacked/snapshot_blob.bin': No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

Maybe the error is this path ?? : install -D "build/linux-unpacked/snapshot_blob.bin" "$pkgdir/usr/lib/$pkgname/snapshot_blob.bin"

faasie commented on 2019-01-03 02:01

@paapereira - I, too, am having the same issue with the snapshot_blob.bin.

==> Starting package()...
install: cannot stat 'build/linux-unpacked/snapshot_blob.bin': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

paapereira commented on 2019-01-02 20:37

I'm updating from 0.12.25-2 to 0.13.53-1, but I'm having the following error. Any ideia if it's my system or the package? Anyone else with the same issue?

$ makepkg -sri

(...)

 OKAY  take it away `electron-builder`

  • electron-builder version=20.28.4
  • loaded configuration file=package.json ("build" field)
  • writing effective config file=build/builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=linux arch=x64 electron=3.0.5 appOutDir=build/linux-unpacked
  • building        target=AppImage arch=x64 file=build/marktext-0.13.53-x86_64.AppImage
  • building        target=tar.gz arch=x64 file=build/marktext-0.13.53.tar.gz
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'build/linux-unpacked/snapshot_blob.bin': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

dopsi commented on 2018-06-27 20:01

@dpeukert: thanks for the updated PKGBUILD, I added it

dpeukert commented on 2018-06-26 16:49

Updated PKGBUILD to the newest version of Marktext and added a desktop file and an icon

# Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com>
pkgname=marktext
pkgver=0.12.25
pkgrel=1
pkgdesc='Next generation markdown editor'
arch=('x86' 'x86_64')
url='https://marktext.github.io/website/'
license=('MIT')
depends=('gconf' 'gtk3' 'libxss' 'nss')
makedepends=('npm')
source=("${pkgname}-${pkgver}.tar.gz::http://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('46c961bcb89aed13aa0d9c46ec22a20c728ff8880d758fdaf595671864f30d11aa04cf96d4c15a9066ba51a89f9c0b774ed4bd72b6a1fe42aa9604a8b75ccbeb')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    npm install --cache "${srcdir}/npm-cache"
    npm run release:linux
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    install -D "build/linux-unpacked/snapshot_blob.bin" "$pkgdir/usr/lib/$pkgname/snapshot_blob.bin"
    install -D "build/linux-unpacked/content_resources_200_percent.pak" "$pkgdir/usr/lib/$pkgname/content_resources_200_percent.pak"
    install -D "build/linux-unpacked/content_shell.pak" "$pkgdir/usr/lib/$pkgname/content_shell.pak"
    install -D "build/linux-unpacked/icudtl.dat" "$pkgdir/usr/lib/$pkgname/icudtl.dat"
    install -D "build/linux-unpacked/libffmpeg.so" "$pkgdir/usr/lib/$pkgname/libffmpeg.so"
    install -D "build/linux-unpacked/libnode.so" "$pkgdir/usr/lib/$pkgname/libnode.so"
    cp -r "build/linux-unpacked/locales" "$pkgdir/usr/lib/$pkgname/locales"
    install -D "build/linux-unpacked/marktext" "$pkgdir/usr/lib/$pkgname/marktext"
    install -D "build/linux-unpacked/natives_blob.bin" "$pkgdir/usr/lib/$pkgname/natives_blob.bin"
    install -D "build/linux-unpacked/pdf_viewer_resources.pak" "$pkgdir/usr/lib/$pkgname/pdf_viewer_resources.pak"
    cp -r "build/linux-unpacked/resources" "$pkgdir/usr/lib/$pkgname/resources"
    install -D "build/linux-unpacked/ui_resources_200_percent.pak" "$pkgdir/usr/lib/$pkgname/ui_resources_200_percent.pak"
    install -D "build/linux-unpacked/blink_image_resources_200_percent.pak" "$pkgdir/usr/lib/$pkgname/blink_image_resources_200_percent.pak"
    install -D "build/linux-unpacked/views_resources_200_percent.pak" "$pkgdir/usr/lib/$pkgname/views_resources_200_percent.pak"

    # Symlink main binary
    install -d "${pkgdir}/usr/bin"
    ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"

    # Install license file
    install -D LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
    install -D build/linux-unpacked/LICENSE.electron.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.electron.txt"
    install -D build/linux-unpacked/LICENSES.chromium.html "$pkgdir/usr/share/licenses/$pkgname/LICENSES.chromium.html"

    # Install desktop file and icon
    install -D "build/linux-unpacked/blink_image_resources_200_percent.pak" "$pkgdir/usr/lib/$pkgname/blink_image_resources_200_percent.pak"
    install -D "resources/linux/marktext.desktop" "$pkgdir/usr/share/applications/marktext.desktop"
    install -D "build/.icon-set/icon_512x512.png" "$pkgdir/usr/share/pixmaps/marktext.png"
}

# vim:ts=4:sw=4:expandtab