summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 09eba4d950738ac85fe4acf1dae67c07af6ebe58 (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
# Maintainer: lmartinez-mirror
pkgname=vim-delimitmate-git
pkgver=2.7.r34.g537a1da
pkgrel=1
pkgdesc="A vim plugin providing insert mode autocompletion for quotes, brackets, etc."
arch=('any')
url="https://github.com/raimondi/delimitmate"
license=('vim-license')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
makedepends=('git')
provides=('vim-delimitmate')
conflicts=('neovim-delimitmate')
source=("$pkgname::git+$url")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long | sed 's/-/.r/;s/-/./'
}

package() {
  cd "$pkgname"
  find autoload doc plugin -type f -exec install -Dm 644 '{}' \
    "$pkgdir/usr/share/vim/vimfiles/{}" \;
}