blob: 1f6930ccffd97fdab8613d4fc3bb0e06b2ca1a47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# vim-markdown-toc
# Maintainer: Andrea Feletto <andrea@andreafeletto.com>
pkgname=vim-markdown-toc-git
_pkgname=${pkgname%-*}
pkgver=v1.4.0.r30.g2e86c72
pkgrel=2
pkgdesc='A vim 7.4+ plugin to generate table of contents for Markdown files.'
arch=('any')
url='https://github.com/mzlogin/vim-markdown-toc'
license=('MIT')
depends=('vim')
conflicts=('vim-markdown-toc')
source=("git+https://github.com/mzlogin/$_pkgname")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/-/.r/;s/-/./'
}
package() {
vimfiles="$pkgdir/usr/share/vim/vimfiles"
cd "$srcdir/$_pkgname"
install -dv "$vimfiles"
cp -R ftdetect ftplugin "$vimfiles/"
}
|