summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrea Feletto2020-08-24 15:27:45 +0200
committerAndrea Feletto2020-08-24 15:27:45 +0200
commitcdbb3ba9f40e2d307194fc84d735e280af2b6230 (patch)
tree7aedd8df39e112bb387341b10d95f3552c9f7429 /PKGBUILD
downloadaur-vim-markdown-toc.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..99bda7de7a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# vim-markdown-toc
+
+# Maintainer: Andrea Feletto <andrea@andreafeletto.com>
+
+pkgname=vim-markdown-toc
+pkgver=1.4.0
+pkgrel=1
+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-git')
+source=("https://github.com/mzlogin/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('4353a1a067cd871f27e120e61617dbe4d37c5256b29c4d27af95d9d5f59ff154')
+
+package() {
+ vimfiles="$pkgdir/usr/share/vim/vimfiles"
+
+ cd "$srcdir/$pkgname-$pkgver"
+ install -dv "$vimfiles"
+ cp -R ftdetect ftplugin "$vimfiles/"
+}
+