diff options
author | zenekron | 2018-04-24 22:09:14 +0200 |
---|---|---|
committer | zenekron | 2018-04-24 22:17:25 +0200 |
commit | 2743cfa72e7569c57cb09efdacf82becc96cd45a (patch) | |
tree | aec7cff62ee9b63d37cf1ef855d5d7e20c78dfda | |
download | aur-2743cfa72e7569c57cb09efdacf82becc96cd45a.tar.gz |
add PKGBUILD
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7096ec02c023 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = neovim-plug-git + pkgdesc = Minimalist Neovim Plugin Manager + pkgver = r608.e6a775e + pkgrel = 1 + url = https://github.com/junegunn/vim-plug + arch = any + license = MIT + depends = neovim + provides = neovim-plug + conflicts = neovim-plug + source = neovim-plug-git::git+https://github.com/junegunn/vim-plug + md5sums = SKIP + +pkgname = neovim-plug-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..29b8a8dfe059 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: zenekron <zenekron@gmail.com> + +pkgname=neovim-plug-git +pkgver=r608.e6a775e +pkgrel=1 +pkgdesc="Minimalist Neovim Plugin Manager" +url="https://github.com/junegunn/vim-plug" +license=("MIT") +source=("$pkgname::git+https://github.com/junegunn/vim-plug") +md5sums=("SKIP") +arch=("any") +depends=("neovim") +conflicts=("neovim-plug") +provides=("neovim-plug") + +pkgver() { + cd "$srcdir/$pkgname" + printf "r%s.%s" \ + "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short HEAD)" +} + +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 ts=4 sw=4: |