blob: d4b469efe8c9857c836709118027c8dbc6cfee80 (
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
31
|
# Maintainer: lmartinez-mirror
# Contributor: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
pkgname=vim-ctrlp-git
pkgver=1.81.r0.g971c4d4
pkgrel=1
pkgdesc='Full path fuzzy file, buffer, mru, tag, ... finder'
arch=('any')
url='https://github.com/ctrlpvim/ctrlp.vim'
license=('custom:vim')
depends=('vim-plugin-runtime')
makedepends=('git')
groups=('vim-plugins')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url")
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/-/.r/;s/-/./'
}
package() {
cd "$pkgname"
find autoload doc plugin \
-type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 readme.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
# vim:set et sw=2 ts=2 tw=79:
|