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

Levente Polyak anthraxx at archlinux.org
Wed Mar 17 00:55:05 UTC 2021


    Date: Wednesday, March 17, 2021 @ 00:55:05
  Author: anthraxx
Revision: 892664

upgpkg: vim-tagbar 3.0.0-1

Modified:
  vim-tagbar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-17 00:54:36 UTC (rev 892663)
+++ PKGBUILD	2021-03-17 00:55:05 UTC (rev 892664)
@@ -3,8 +3,8 @@
 # Contributor: Patrice Peterson <runiq at archlinux dot us>
 
 pkgname=vim-tagbar
-pkgver=2.7
-pkgrel=3
+pkgver=3.0.0
+pkgrel=1
 pkgdesc='Plugin to browse the tags of the current file and get an overview of its structure'
 url='https://majutsushi.github.io/tagbar/'
 arch=('any')
@@ -11,16 +11,15 @@
 license=('custom:vim')
 depends=('ctags' 'vim')
 groups=('vim-plugins')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/majutsushi/tagbar/archive/v${pkgver}.tar.gz)
-sha512sums=('d964d3055f1679aad86b0756cc444a4857eb29ca22f2bd3567ad6c8d073e75d0c8823109038415f5bd1d269bbf8e36da6f34d70fedee54c10f90535ef79ff3c8')
+source=(https://github.com/majutsushi/tagbar/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('01633e56211ddf753b8b24757e5f67a3ac1d79e36e9c1b39d431db968d592a878d4e19e7631059270069885eea6e608655cb604df3f512588e159ffba1057aa5')
 
 package() {
   cd ${pkgname#vim-}-${pkgver}
   _installpath="${pkgdir}/usr/share/vim/vimfiles"
-  install -Dm 644 doc/tagbar.txt -t "${_installpath}/doc"
-  install -Dm 644 autoload/tagbar.vim -t "${_installpath}/autoload"
-  install -Dm 644 plugin/tagbar.vim -t "${_installpath}/plugin"
-  install -Dm 644 syntax/tagbar.vim -t "${_installpath}/syntax"
+  install -d "${_installpath}"
+  cp -r -t "${_installpath}" autoload doc plugin syntax
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



More information about the arch-commits mailing list