[arch-commits] Commit in (4 files)
Levente Polyak
anthraxx at archlinux.org
Mon Dec 18 19:52:28 UTC 2017
Date: Monday, December 18, 2017 @ 19:52:27
Author: anthraxx
Revision: 274787
addpkg: vim-gitgutter 416.1e60667-1
Added:
vim-gitgutter/
vim-gitgutter/repos/
vim-gitgutter/trunk/
vim-gitgutter/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: vim-gitgutter/trunk/PKGBUILD
===================================================================
--- vim-gitgutter/trunk/PKGBUILD (rev 0)
+++ vim-gitgutter/trunk/PKGBUILD 2017-12-18 19:52:27 UTC (rev 274787)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=vim-gitgutter
+_gitcommit=1e60667322b7cd1bfcba98762fbba746a888d21a
+pkgver=416.1e60667
+pkgrel=1
+pkgdesc='Vim plugin which shows a git diff in the gutter (sign column)'
+url='https://github.com/airblade/vim-gitgutter'
+arch=('any')
+license=('MIT')
+depends=('vim' 'git')
+groups=('vim-plugins')
+source=(${pkgname}::"git+https://github.com/airblade/vim-gitgutter#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd ${pkgname}
+ _installpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -d "${_installpath}"
+ cp -r -t "${_installpath}" autoload doc plugin
+ install -Dm 644 README.mkd -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENCE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list