blob: e083c24fb1452eafb27b678b9614aeca2b1f012a (
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: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
pkgname=vim-indexed-search-git
pkgver=r40.1bae237
pkgrel=2
pkgdesc='A Vim plugin to show the number of matches and index when searching'
arch=('any')
url='https://github.com/henrik/vim-indexed-search'
license=('unknown')
groups=('vim-plugins')
depends=('vim')
makedepends=('git')
provides=('vim-indexed-search')
conflicts=('vim-indexed-search')
source=('git+https://github.com/henrik/vim-indexed-search.git')
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
_installpath="${pkgdir}/usr/share/vim/vimfiles"
mkdir -p "${_installpath}"
cp -r ${pkgname%-git}/{autoload,doc,plugin} "${_installpath}"
}
|