diff options
author | knedl1k | 2023-11-01 13:37:07 +0100 |
---|---|---|
committer | knedl1k | 2023-11-01 13:37:07 +0100 |
commit | e3493dc9f0aec6bf72eeff21099aa06c6cf0c040 (patch) | |
tree | f4ac998f0297d58b771ccbd4b705198ec80d00c6 | |
parent | cd97546ffc28ce324dba26b9eb028740051335b9 (diff) | |
download | aur-e3493dc9f0aec6bf72eeff21099aa06c6cf0c040.tar.gz |
bumped version to 0.3.0, added dependencies, fixed path
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 23 insertions, 22 deletions
@@ -1,8 +1,8 @@ pkgbase = vim-instant-markdown pkgdesc = Instant Markdown previews from vim in a browser - pkgver = 0.1.1 - pkgrel = 4 - url = https://github.com/suan/vim-instant-markdown#readme + pkgver = 0.3.0 + pkgrel = 1 + url = https://github.com/instant-markdown/vim-instant-markdown install = install.sh arch = any license = unknown @@ -10,13 +10,14 @@ pkgbase = vim-instant-markdown depends = nodejs depends = npm depends = wget + depends = xdg-utils + depends = curl optdepends = neovim: neovim support optdepends = vim: vim support - noextract = 0.1.0.tar.gz - source = https://github.com/suan/instant-markdown-d/archive/0.1.1.tar.gz - source = https://github.com/suan/vim-instant-markdown/archive/v0.1.0.tar.gz - sha256sums = 806281d2499e1fe01d3827d75cc196c269fd65c6fe7313e99e0d0c3e70657c22 - sha256sums = 7a3678f002e6f9760312ff82101dfd10d930251aad9b3fee53c76c2ca16a31c9 + noextract = 0.3.0.tar.gz + source = https://github.com/instant-markdown/instant-markdown-d/archive/0.3.0.tar.gz + source = https://github.com/instant-markdown/vim-instant-markdown/archive/v0.3.0.tar.gz + sha256sums = 22ecc56d63b1810f84383f206fb3b8f165a7942cb1771b2bfb0223693c9d0212 + sha256sums = 02193901308c894639976afa01331608dd46697a0c14dcb360b25679052f336a pkgname = vim-instant-markdown - @@ -1,28 +1,29 @@ -# Maintainer: Alex Gentilucci <alexander.gentilucci@gmail.com> +# Maintainer: knedl1k <knedl1k At tuta Dot io> +# Contributor: Alex Gentilucci <alexander.gentilucci@gmail.com> _npmname=instant-markdown-d -_npmver=0.1.0 +_npmver=0.3.0 pkgname=vim-instant-markdown -pkgver=0.1.1 -pkgrel=4 +pkgver=0.3.0 +pkgrel=1 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') +url="https://github.com/instant-markdown/vim-instant-markdown" +depends=('nodejs' 'npm' 'wget' 'xdg-utils' 'curl') makedepends=('jq') optdepends=('neovim: neovim support' 'vim: vim support') -source=("https://github.com/suan/$_npmname/archive/$pkgver.tar.gz" - "https://github.com/suan/$pkgname/archive/v$_npmver.tar.gz") +source=("https://github.com/instant-markdown/$_npmname/archive/$pkgver.tar.gz" + "https://github.com/instant-markdown/$pkgname/archive/v$_npmver.tar.gz") noextract=($_npmver.tar.gz) -sha256sums=('806281d2499e1fe01d3827d75cc196c269fd65c6fe7313e99e0d0c3e70657c22' - '7a3678f002e6f9760312ff82101dfd10d930251aad9b3fee53c76c2ca16a31c9') +sha256sums=('22ecc56d63b1810f84383f206fb3b8f165a7942cb1771b2bfb0223693c9d0212' + '02193901308c894639976afa01331608dd46697a0c14dcb360b25679052f336a') 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" + mkdir -p "$pkgdir/usr/share/vim/vimfiles/ftplugin/markdown" cd "$srcdir" npm install \ @@ -46,7 +47,6 @@ package() { mv "$tmppackage" "$pkgjson" chmod 644 "$pkgjson" - cp "$srcdir/$pkgname-$_npmver/after/ftplugin/markdown/instant-markdown.vim" "$pkgdir/usr/share/vim/vimfiles/after/ftplugin/markdown" + cp "$srcdir/$pkgname-$_npmver/ftplugin/markdown/instant-markdown.vim" "$pkgdir/usr/share/vim/vimfiles/ftplugin/markdown" } -# vim: set ts=2 sw=2 |