Date: Monday, September 30, 2019 @ 21:07:54
  Author: anthraxx
Revision: 512292

archrelease: copy trunk to community-any

Added:
  vim-nerdtree/repos/community-any/PKGBUILD
    (from rev 512291, vim-nerdtree/trunk/PKGBUILD)
Deleted:
  vim-nerdtree/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2019-09-30 21:07:49 UTC (rev 512291)
+++ PKGBUILD    2019-09-30 21:07:54 UTC (rev 512292)
@@ -1,29 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Alexander F Rødseth <xypr...@archlinux.org>
-# Contributor: Andrea Scarpino <and...@archlinux.org>
-# Contributor: Kwpolska <kwpol...@gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Laszlo Papp <djszapi @ gmail at com>
-
-pkgname=vim-nerdtree
-pkgver=6.1.0
-pkgrel=1
-pkgdesc='Tree explorer plugin for navigating the filesystem'
-url='https://github.com/scrooloose/nerdtree'
-arch=('any')
-license=('custom:WTFPL')
-depends=('vim')
-groups=('vim-plugins')
-source=(https://github.com/scrooloose/nerdtree/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('ebafb5797a83bf6efd12553c103999b836044ba2bfe6aa06b2c94aae09cfef8a9ffd8c494dd75258fa1c78b54c9ef3cc6c90bef22c1aa60e517441bef39aaae5')
-
-package() {
-  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}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: vim-nerdtree/repos/community-any/PKGBUILD (from rev 512291, 
vim-nerdtree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-09-30 21:07:54 UTC (rev 512292)
@@ -0,0 +1,35 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alexander F Rødseth <xypr...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Kwpolska <kwpol...@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Laszlo Papp <djszapi @ gmail at com>
+
+pkgname=vim-nerdtree
+pkgver=6.1.0
+pkgrel=2
+pkgdesc='Tree explorer plugin for navigating the filesystem'
+url='https://github.com/scrooloose/nerdtree'
+arch=('any')
+license=('custom:WTFPL')
+depends=('vim')
+groups=('vim-plugins')
+source=(https://github.com/scrooloose/nerdtree/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('ebafb5797a83bf6efd12553c103999b836044ba2bfe6aa06b2c94aae09cfef8a9ffd8c494dd75258fa1c78b54c9ef3cc6c90bef22c1aa60e517441bef39aaae5')
+
+prepare() {
+  cd nerdtree-${pkgver}
+  sed 's|\[s:rootNERDTreePath,|["/usr/share/doc/vim-nerdtree",|' -i 
autoload/nerdtree.vim
+}
+
+package() {
+  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 CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENCE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.markdown CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to