blob: afaec61d8b031e59e7288613abb7bb3f7fac92d8 (
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: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=vim-sandwich-git
pkgver=1.0.0
pkgrel=1
pkgdesc="Set of operator and textobject plugins to search/select/edit sandwiched textobjects"
arch=(any)
depends=(vim)
groups=(vim-plugins)
url="https://github.com/machakann/vim-sandwich"
license=(custom:vim)
source=("git+$url")
sha256sums=('SKIP')
provides=(vim-sandwich)
conflicts=(vim-sandwich)
pkgver() {
git -C vim-sandwich describe --tags --abbrev=10 | \
sed 's/^v//; s/-/+/; s/-/./'
}
package() {
cd vim-sandwich
find autoload plugin after macros doc \
-type f \
-exec install -D {} "$pkgdir"/usr/share/vim/vimfiles/{} \;
}
|