[arch-commits] Commit in vim-fugitive/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Oct 14 23:53:35 UTC 2018


    Date: Sunday, October 14, 2018 @ 23:53:34
  Author: anthraxx
Revision: 393965

upgpkg: vim-fugitive 2.4-2 (fix missing files)

Modified:
  vim-fugitive/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 23:51:52 UTC (rev 393964)
+++ PKGBUILD	2018-10-14 23:53:34 UTC (rev 393965)
@@ -5,7 +5,7 @@
 
 pkgname=vim-fugitive
 pkgver=2.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Git wrapper so awesome, it should be illegal'
 url='https://github.com/tpope/vim-fugitive'
 arch=('any')
@@ -19,9 +19,9 @@
 
 package() {
   cd ${pkgname}-${pkgver}
-  local installpath="${pkgdir}/usr/share/vim/vimfiles"
-  install -Dm 644 doc/* -t "${installpath}/doc"
-  install -Dm 644 plugin/* -t "${installpath}/plugin"
+  local _installpath="${pkgdir}/usr/share/vim/vimfiles"
+  install -d "${_installpath}"
+  cp -r -t "${_installpath}" autoload doc plugin ftdetect
   install -Dm 644 ../license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



More information about the arch-commits mailing list