summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gentilucci2019-07-05 09:55:39 -0600
committerAlex Gentilucci2019-07-05 09:55:39 -0600
commit0cdaea40c9dd0c2a4e6b3e5b99f048d07fc20916 (patch)
tree4d8ff80eba5aaf85e8dc9d8e5767f801138ac4d3
parent2f264aec8246fd9bf5332053eb589b217aba8081 (diff)
downloadaur-0cdaea40c9dd0c2a4e6b3e5b99f048d07fc20916.tar.gz
Moved instant-markdown-d to 0.1.1 from github.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD20
2 files changed, 15 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 78db5d62269..09ae29ad92e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vim-instant-markdown
pkgdesc = Instant Markdown previews from vim in a browser
- pkgver = 0.1.0
- pkgrel = 9
+ pkgver = 0.1.1
+ pkgrel = 1
url = https://github.com/suan/vim-instant-markdown#readme
install = install.sh
arch = any
@@ -12,10 +12,10 @@ pkgbase = vim-instant-markdown
depends = wget
optdepends = neovim: neovim support
optdepends = vim: vim support
- noextract = instant-markdown-d-0.1.0.tgz
- source = http://registry.npmjs.org/instant-markdown-d/-/instant-markdown-d-0.1.0.tgz
+ noextract = 0.1.1.tar.gz
+ source = https://github.com/suan/instant-markdown-d/archive/0.1.1.tar.gz
source = https://raw.githubusercontent.com/suan/vim-instant-markdown/master/after/ftplugin/markdown/instant-markdown.vim
- sha256sums = 457cda23129183b01a97e96de9e598680fa0cee6c7c9a40db0f830cd7031fa81
+ sha256sums = 899ab558512f7dee7accdccbecf7893a7cacb4950c90241730af5fcf94ffbefd
sha256sums = 317faf4a9d43504540b99e319c2ba5f0218458936109574d231b894ed772df6f
pkgname = vim-instant-markdown
diff --git a/PKGBUILD b/PKGBUILD
index 10618d70fef..e5dfe1ca5f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: Alex Gentilucci <alexander.gentilucci@gmail.com>
_npmname=instant-markdown-d
-_npmver=0.1.0
+_npmver=0.1.1
pkgname=vim-instant-markdown
-pkgver=0.1.0
-pkgrel=9
+pkgver=0.1.1
+pkgrel=1
pkgdesc="Instant Markdown previews from vim in a browser"
arch=(any)
license=(unknown)
@@ -12,10 +12,10 @@ url="https://github.com/suan/vim-instant-markdown#readme"
depends=('nodejs' 'npm' 'wget')
makedepends=('jq')
optdepends=('neovim: neovim support' 'vim: vim support')
-source=("http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz"
+source=("https://github.com/suan/$_npmname/archive/$_npmver.tar.gz"
"https://raw.githubusercontent.com/suan/vim-instant-markdown/master/after/ftplugin/markdown/instant-markdown.vim")
-noextract=($_npmname-$_npmver.tgz)
-sha256sums=('457cda23129183b01a97e96de9e598680fa0cee6c7c9a40db0f830cd7031fa81'
+noextract=($_npmver.tar.gz)
+sha256sums=('899ab558512f7dee7accdccbecf7893a7cacb4950c90241730af5fcf94ffbefd'
'317faf4a9d43504540b99e319c2ba5f0218458936109574d231b894ed772df6f')
install=install.sh
@@ -25,14 +25,14 @@ package() {
mkdir -p "$pkgdir/usr/share/vim/vimfiles/after/ftplugin/markdown"
cd "$srcdir"
- npm install \
- --global \
+ npm install \
+ --global \
--no-save \
--production \
--user root \
--cache "$srcdir/npm-cache" \
--prefix "$pkgdir/usr" \
- "$_npmname-$_npmver.tgz"
+ "$_npmver.tar.gz"
find "$pkgdir/usr" -type d -exec chmod 755 {} +
@@ -44,7 +44,7 @@ package() {
local pkgjson="$pkgdir/usr/lib/node_modules/$_npmname/package.json"
jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage"
mv "$tmppackage" "$pkgjson"
- chmod 644 "$pkgjson"
+ chmod 644 "$pkgjson"
cp "$srcdir/instant-markdown.vim" "$pkgdir/usr/share/vim/vimfiles/after/ftplugin/markdown"
}