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

Daniel Micay thestinger at nymeria.archlinux.org
Mon Apr 28 06:46:06 UTC 2014


    Date: Monday, April 28, 2014 @ 08:46:06
  Author: thestinger
Revision: 110336

vim-supertab: switch to github for sanity

Modified:
  vim-supertab/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-28 06:35:46 UTC (rev 110335)
+++ PKGBUILD	2014-04-28 06:46:06 UTC (rev 110336)
@@ -5,29 +5,25 @@
 
 pkgname=vim-supertab
 pkgver=2.1
-_sourceid=21752
 pkgrel=1
 pkgdesc='A Vim plugin that allows you to use the tab key to do all insert completion.'
 arch=('any')
-url='http://www.vim.org/scripts/script.php?script_id=1643'
+url='https://github.com/ervandew/supertab'
 license=('BSD')
 depends=('vim')
 groups=('vim-plugins')
 install=vimdoc.install
-source=("supertab.vmb::http://www.vim.org/scripts/download_script.php?src_id=$_sourceid"
+source=("https://github.com/ervandew/supertab/archive/$pkgver.tar.gz"
         'LICENSE')
-md5sums=('59ed0d264aed4f9dc6d198c1b9fcac27'
+md5sums=('8c9fd74e228521f64221b91e1a54abfe'
          'a232f3fa724b2e52e1678adcc84f67bb')
 
 package() {
-  cd "$srcdir"
+  cd "$srcdir/supertab-$pkgver"
 
-  # extract the vimball
-  /usr/bin/vim -n -i NONE -c ":UseVimball $srcdir" -c ":q" ./supertab.vmb
-
   installpath="$pkgdir/usr/share/vim/vimfiles"
 
   install -Dm0644 doc/supertab.txt "$installpath/doc/supertab.txt"
   install -Dm0644 plugin/supertab.vim "$installpath/plugin/supertab.vim"
-  install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm0644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }




More information about the arch-commits mailing list