[arch-commits] Commit in vim-gitgutter/repos (community-any community-any/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Dec 18 19:53:18 UTC 2017


    Date: Monday, December 18, 2017 @ 19:53:17
  Author: anthraxx
Revision: 274788

archrelease: copy trunk to community-any

Added:
  vim-gitgutter/repos/community-any/
  vim-gitgutter/repos/community-any/PKGBUILD
    (from rev 274787, vim-gitgutter/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: vim-gitgutter/repos/community-any/PKGBUILD (from rev 274787, vim-gitgutter/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-12-18 19:53:17 UTC (rev 274788)
@@ -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