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

Levente Polyak anthraxx at archlinux.org
Wed Mar 14 02:12:59 UTC 2018


    Date: Wednesday, March 14, 2018 @ 02:12:58
  Author: anthraxx
Revision: 307541

upgpkg: vim-surround 2.1-3

Modified:
  vim-surround/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-14 02:08:29 UTC (rev 307540)
+++ PKGBUILD	2018-03-14 02:12:58 UTC (rev 307541)
@@ -1,26 +1,29 @@
-# $Id$
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
 # Contributor: Aaron Schaefer <aaron at elasticdog.com>
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=vim-surround
 pkgver=2.1
-pkgrel=2
-pkgdesc='Provides mappings to easily delete, change, and add paired "surroundings"'
+pkgrel=3
+pkgdesc='Provides mappings to easily delete, change, and add paired surroundings'
+url='https://github.com/tpope/vim-surround'
 arch=('any')
-url='https://github.com/tpope/vim-surround'
 license=('custom:vim')
+depends=('vim')
 groups=('vim-plugins')
-depends=('vim')
-source=($pkgname-$pkgver.tar.gz::https://github.com/tpope/vim-surround/archive/v2.1.tar.gz
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/tpope/vim-surround/archive/v${pkgver}.tar.gz
         license.txt)
-md5sums=('85ffd09f75fe308f0bde43b0ce39bc2c'
-         'cd49910a3dde6fe0a7e24ebe8cbf7066')
+sha512sums=('db2c755b9f29420cf8affdfd69fccb45ded000e29c05d100afadf7e038262cb404a908e82b06941cf1d539fa253a1997942b1b1cb87445b57b2209ed671ff30d'
+            'a50e91b1896b0d952008ba2f641a87af2d1a01e4f280f6c914edcd51ae5d1586d5ade71c3609866b501569007bcb7f2494f08280afec170884b90fab36332fac')
 
 package() {
-  cd $pkgname-$pkgver
-  local installpath="$pkgdir/usr/share/vim/vimfiles"
-  install -Dm644 doc/surround.txt "$installpath/doc/surround.txt"
-  install -Dm644 plugin/surround.vim "$installpath/plugin/surround.vim"
-  install -Dm644 ../license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd ${pkgname}-${pkgver}
+  local installpath="${pkgdir}/usr/share/vim/vimfiles"
+  install -Dm 644 doc/* -t "${installpath}/doc"
+  install -Dm 644 plugin/* -t "${installpath}/plugin"
+  install -Dm 644 ../license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.markdown -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list