blob: 7452a9411f746c3632bf2ea346b70a039b6357a8 (
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
|
# Maintainer: Ankit R Gadiya <arch@argp.in>
pkgname=vim-tcomment-git
pkgver=3.08.1.r28.ge365bfa
pkgrel=1
pkgdesc="An extensible & universal comment vim-plugin that also handles embedded filetypes (Git Version)"
license=('GPL3')
arch=('any')
url="https://github.com/tomtom/tcomment_vim"
depends=('vim')
makedepends=('git')
groups=('vim-plugins')
source=("git+https://github.com/tomtom/tcomment_vim/")
md5sums=('SKIP')
pkgver() {
cd tcomment_vim
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
install -Dm755 "tcomment_vim/plugin/tcomment.vim" \
"${pkgdir}/usr/share/vim/vimfiles/plugin/tcomment.vim"
install -Dm755 "tcomment_vim/doc/tcomment.txt" \
"${pkgdir}/usr/share/vim/vimfiles/doc/tcomment.txt"
install -Dm755 "tcomment_vim/autoload/tcomment.vim" \
"${pkgdir}/usr/share/vim/vimfiles/autoload/tcomment.vim"
}
|