summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoroozyslug2015-07-10 20:35:20 +0530
committeroozyslug2015-07-10 20:35:20 +0530
commit5f76c79c27a680d5bc6ce0e4b05afcbe1a03bec6 (patch)
tree14d2e26a15067d235bd754961a240c3880815354 /PKGBUILD
downloadaur-vim-plug-git.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cab5cc95daa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: oozyslug <oozyslug at gmail dot com>
+# Contributor: oozyslug <oozyslug at gmail dot com>
+# Submitter: oozyslug <oozyslug at gmail dot com>
+
+pkgname=vim-plug-git
+pkgver=0.7.2.5.g69d6c9d
+pkgrel=1
+pkgdesc="A vim plugin manager"
+arch=('any')
+url="http://github.com/junegunn/vim-plug"
+license=('MIT')
+depends=('vim')
+makedepends=('git')
+conflicts=('vim-plug')
+provides=('vim-plug')
+source=(${pkgname}::git+https://github.com/junegunn/vim-plug
+ LICENSE-MIT.txt
+ plug.vimrc
+ )
+
+sha512sums=('SKIP'
+ 'aef00f3c6c9e529f40180f5e05a0c06dc614df3419969469baf574ed85611321c34415c3c731ffd5f6dfcf4ec9a34698b7851e2d9b5a46efa8de2410aa626fa8'
+ '8e15c2074d0ce36daa0568167bcbcaf1038b8f65edcab661c9d41a9a18714b27accab28f5065408852329827ff4c84c03102c17bd542962cde1f057e88c4044c'
+ )
+install=vim-plug.install
+pkgver() {
+ cd ${pkgname}
+ git describe | sed 's/^v//;s/-/./g'
+}
+
+package() {
+ install -Dm 644 ${pkgname}/plug.vim ${pkgdir}/usr/share/vim/vimfiles/autoload/plug.vim
+ install -Dm 644 LICENSE-MIT.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm 644 plug.vimrc ${pkgdir}/usr/share/vim-plug/vimrc.sample
+}