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

Daniel Micay thestinger at archlinux.org
Tue Mar 3 20:22:55 UTC 2015


    Date: Tuesday, March 3, 2015 @ 21:22:54
  Author: thestinger
Revision: 128662

upgpkg: vim-surround 2.1-1

Modified:
  vim-surround/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-03 20:11:05 UTC (rev 128661)
+++ PKGBUILD	2015-03-03 20:22:54 UTC (rev 128662)
@@ -4,25 +4,24 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=vim-surround
-_sourceid=12566
-pkgver=2.0
-pkgrel=3
+pkgver=2.1
+pkgrel=1
 pkgdesc='Provides mappings to easily delete, change, and add paired "surroundings"'
 arch=('any')
-url='http://www.vim.org/scripts/script.php?script_id=1697'
+url='https://github.com/tpope/vim-surround'
 license=('custom:vim')
 groups=('vim-plugins')
 depends=('vim')
 install=vimdoc.install
-source=("http://www.vim.org/scripts/download_script.php?src_id=$_sourceid"
-        'license.txt')
-md5sums=('c3d5129befb14ae82c1e7769253b703c'
+source=($pkgname-$pkgver.tar.gz::https://github.com/tpope/vim-surround/archive/v2.1.tar.gz
+        license.txt)
+md5sums=('85ffd09f75fe308f0bde43b0ce39bc2c'
          'cd49910a3dde6fe0a7e24ebe8cbf7066')
 
 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"
+  install -Dm644 ../license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list