blob: c548d305871459c09e249c12a291d89dc7f6664e (
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: zenekron <zenekron@gmail.com>
pkgname=neovim-plug-git
pkgver=0.10.0.r38.c319036
pkgrel=1
pkgdesc="A minimalist Vim plugin manager"
arch=("any")
url="https://github.com/junegunn/vim-plug"
license=("MIT")
depends=("neovim")
makedepends=("git")
provides=("neovim-plug")
conflicts=("neovim-plug")
source=("$pkgname::git+https://github.com/junegunn/vim-plug.git")
md5sums=("SKIP")
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$pkgname"
install -Dm 644 "plug.vim" "$pkgdir/usr/share/nvim/runtime/autoload/plug.vim"
install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: set tabstop=4 shiftwidth=4 colorcolumn=100 :
|