Package Details: vim-instant-markdown 0.1.0-3

Git Clone URL: https://aur.archlinux.org/vim-instant-markdown.git (read-only)
Package Base: vim-instant-markdown
Description: Instant Markdown previews from vim in a browser
Upstream URL: https://github.com/suan/vim-instant-markdown#readme
Keywords: ftplugin markdown vim
Licenses: unknown
Submitter: tmplt
Maintainer: tmplt
Last Packager: tmplt
Votes: 4
Popularity: 0.728956
First Submitted: 2016-03-04 14:52
Last Updated: 2016-12-26 16:33

Latest Comments

tmplt commented on 2016-12-26 16:33

The sha256sums are now updated. Thanks, sadid.

sadid commented on 2016-12-23 15:43

# Maintainer: Tmplt <ttemplate[at]gmail[dot]com>

_npmname=instant-markdown-d
_npmver=0.1.0
pkgname=vim-instant-markdown
pkgver=0.1.0
pkgrel=2
pkgdesc="Instant Markdown previews from vim in a browser"
arch=(any)
license=(unknown)
url="https://github.com/suan/vim-instant-markdown#readme"
depends=('nodejs' 'npm' 'wget' 'vim')
optdepends=('neovim: neovim support')
source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz
https://raw.githubusercontent.com/suan/vim-instant-markdown/master/after/ftplugin/markdown/instant-markdown.vim)
noextract=($_npmname-$_npmver.tgz)
sha256sums=('457cda23129183b01a97e96de9e598680fa0cee6c7c9a40db0f830cd7031fa81'
'2dc1f0e3af2e9641b554f7ed1d32457918542e95f601d552202b362b1779c2d0')
install=install.sh

package() {
mkdir -p "$pkgdir/usr/lib/node_modules/"
mkdir -p "$pkgdir/usr/share/vim/vimfiles/autoload/"
mkdir -p "$pkgdir/usr/share/vim/vimfiles/after/ftplugin/markdown"

cd "$pkgdir/usr/lib/node_modules/"
npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver

cp "$srcdir/instant-markdown.vim" "$pkgdir/usr/share/vim/vimfiles/after/ftplugin/markdown"
}

# vim: set ts=2 sw=2

sadid commented on 2016-12-23 15:40

==> Making package: vim-instant-markdown 0.1.0-2
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading instant-markdown-d-0.1.0.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7501 100 7501 0 0 1947 0 0:00:03 0:00:03 --:--:-- 1947
-> Downloading instant-markdown.vim...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5290 100 5290 0 0 904 0 0:00:05 0:00:05 --:--:-- 991
==> Validating source files with sha256sums...
instant-markdown-d-0.1.0.tgz ... Passed
instant-markdown.vim ... FAILED
==> ERROR: One or more files did not pass the validity check!

patrick96 commented on 2016-10-18 22:41

The instant-markdown.vim sha256sum has changed and breaks the validity check.