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

Levente Polyak anthraxx at archlinux.org
Sun Sep 29 22:13:00 UTC 2019


    Date: Sunday, September 29, 2019 @ 22:12:59
  Author: anthraxx
Revision: 512142

upgpkg: vim-nerdtree 6.1.0-1

Modified:
  vim-nerdtree/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++-------------------
 1 file changed, 14 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-29 22:02:18 UTC (rev 512141)
+++ PKGBUILD	2019-09-29 22:12:59 UTC (rev 512142)
@@ -1,4 +1,5 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Kwpolska <kwpolska at gmail.com>
 # Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -5,30 +6,24 @@
 # Contributor: Laszlo Papp <djszapi @ gmail at com>
 
 pkgname=vim-nerdtree
-pkgver=5.0.0
-_scriptid=17123
-pkgrel=3
+pkgver=6.1.0
+pkgrel=1
 pkgdesc='Tree explorer plugin for navigating the filesystem'
+url='https://github.com/scrooloose/nerdtree'
 arch=('any')
-url='https://www.vim.org/scripts/script.php?script_id=1658'
 license=('custom:WTFPL')
 depends=('vim')
 groups=('vim-plugins')
-source=("$pkgname-$pkgver.zip::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid"
-        'COPYING')
-md5sums=('39e61096eb0c54a4d386eaba49d6de3d'
-         '389a9e29629d1f05e115f8f05c283df5')
+source=(https://github.com/scrooloose/nerdtree/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('ebafb5797a83bf6efd12553c103999b836044ba2bfe6aa06b2c94aae09cfef8a9ffd8c494dd75258fa1c78b54c9ef3cc6c90bef22c1aa60e517441bef39aaae5')
 
 package() {
-  install -d \
-    "$pkgdir/usr/share/vim/vimfiles/"{doc,nerdtree_plugin,plugin,syntax}
-  install -m644 doc/NERD_tree.txt "$pkgdir/usr/share/vim/vimfiles/doc/"
-  install -m644 nerdtree_plugin/{exec_menuitem,fs_menu}.vim \
-    "$pkgdir/usr/share/vim/vimfiles/nerdtree_plugin/"
-  install -m644 plugin/NERD_tree.vim "$pkgdir/usr/share/vim/vimfiles/plugin/"
-  install -m644 syntax/nerdtree.vim "$pkgdir/usr/share/vim/vimfiles/syntax/"
-  install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd nerdtree-${pkgver}
+  local _installpath="${pkgdir}/usr/share/vim/vimfiles"
+  install -d "${_installpath}"
+  cp -r -t "${_installpath}" autoload doc plugin syntax nerdtree_plugin lib
+  install -Dm 644 LICENCE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.markdown CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 
-# getver: github.com/scrooloose/nerdtree
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list