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

Rémy Oudompheng remy at archlinux.org
Tue Aug 31 02:23:36 EDT 2010


    Date: Tuesday, August 31, 2010 @ 02:23:35
  Author: remy
Revision: 89287

upgpkg: vim 7.2-2
Rebuild for python2.

Modified:
  vim/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-30 23:44:21 UTC (rev 89286)
+++ PKGBUILD	2010-08-31 06:23:35 UTC (rev 89287)
@@ -6,11 +6,11 @@
 pkgname=(vim gvim vim-runtime)
 pkgver=7.2
 __hgrev=e12b9d992389
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url="http://www.vim.org"
-makedepends=('gpm' 'perl' 'python' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2'
+makedepends=('gpm' 'perl' 'python2' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2'
              'gettext' 'pkgconfig' 'mercurial' 'rsync' 'sed')
 options=(force)
 source=(pythoncomplete.vim::http://www.vim.org/scripts/download_script.php\?src_id=10872
@@ -58,6 +58,10 @@
     vim-build/src/feature.h || return 1
   sed -i 's|^.*\(#define VIMRC_FILE.*"\) .*$|\1|' \
     vim-build/src/feature.h || return 1
+  # fix python name
+  sed -i -e 's|vi_cv_path_python, python|vi_cv_path_python, python2|' \
+    vim-build/src/configure.in
+  (cd vim-build/src && autoconf)
 
   msg2 'Building...'
 
@@ -118,7 +122,7 @@
 
 package_gvim() {
   pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor (with advanced features, such as a GUI)'
-  depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm' 'perl' 'python' 'ruby' 'libxt'
+  depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm' 'perl' 'python2' 'ruby' 'libxt'
            'desktop-file-utils' 'gtk2')
   provides=("vim=${pkgver}-${pkgrel}")
   conflicts=('vim')



More information about the arch-commits mailing list