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

Daniel Micay thestinger at nymeria.archlinux.org
Tue Jun 24 18:17:37 UTC 2014


    Date: Tuesday, June 24, 2014 @ 20:17:37
  Author: thestinger
Revision: 113518

upgpkg: vim-fugitive 2.0-1

Modified:
  vim-fugitive/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-24 18:12:38 UTC (rev 113517)
+++ PKGBUILD	2014-06-24 18:17:37 UTC (rev 113518)
@@ -4,27 +4,25 @@
 # Contributor: János Illés <ijanos at gmail.com>
 
 pkgname=vim-fugitive
-_sourceid=15542
-pkgver=1.2
+pkgver=2.0
 pkgrel=1
-pkgdesc="A git wrapper so awesome, it should be illegal."
+pkgdesc="A Git wrapper so awesome, it should be illegal"
 arch=('any')
-url="http://www.vim.org/scripts/script.php?script_id=2975"
+url="https://github.com/tpope/vim-fugitive"
 license=('custom:vim')
 groups=('vim-plugins')
 depends=('vim')
 install=vimdoc.install
-source=("http://www.vim.org/scripts/download_script.php?src_id=$_sourceid"
+source=("https://github.com/tpope/$pkgname/archive/v${pkgver}.tar.gz"
         'license.txt')
-md5sums=('e13a9eab4606d503429a2ff146964048'
+md5sums=('cd05f87298d928d9ee173fd89777f7b7'
          'cd49910a3dde6fe0a7e24ebe8cbf7066')
 
 package() {
-  cd "$srcdir"
+  cd $pkgname-$pkgver
 
   local installpath="$pkgdir/usr/share/vim/vimfiles"
-
   install -Dm644 doc/fugitive.txt "$installpath/doc/fugitive.txt"
   install -Dm644 plugin/fugitive.vim "$installpath/plugin/fugitive.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