[arch-commits] CVS update of unstable/editors/vim-devel (PKGBUILD vim-devel.install)

Travis Willard travis at archlinux.org
Mon Aug 20 22:38:37 EDT 2007


    Date: Monday, August 20, 2007 @ 22:38:37
  Author: travis
    Path: /home/cvs-unstable/unstable/editors/vim-devel

 Removed: PKGBUILD (1.16) vim-devel.install (1.3)

Hasn't been in the repo for a while. Un-tagged CURRENT and removed.


-------------------+
 PKGBUILD          |   50 --------------------------------------------------
 vim-devel.install |   38 --------------------------------------
 2 files changed, 88 deletions(-)


Index: unstable/editors/vim-devel/PKGBUILD
diff -u unstable/editors/vim-devel/PKGBUILD:1.16 unstable/editors/vim-devel/PKGBUILD:removed
--- unstable/editors/vim-devel/PKGBUILD:1.16	Wed May 10 17:23:36 2006
+++ unstable/editors/vim-devel/PKGBUILD	Mon Aug 20 22:38:37 2007
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD,v 1.16 2006/05/10 21:23:36 tobias Exp $
-# Maintainer: tobias <tobias at archlinux.org>
-
-pkgname=vim-devel
-pkgver=7.0
-pkgrel=1
-_patchlevel=10
-pkgdesc="VIM 7 - Vi IMproved console"
-url="http://www.vim.org"
-depends=('glibc' 'ncurses' 'perl')
-backup=(etc/vimrc)
-conflicts=('vim')
-provides=('vim')
-replaces=('vim-unstable')
-install=$pkgname.install
-# we need the extra to have all patches applied smoothly
-source=(ftp://ftp.vim.org/pub/vim/unix/vim-$pkgver.tar.bz2 \
-        ftp://ftp.vim.org/pub/vim/extra/vim-$pkgver-extra.tar.gz \
-        ftp://ftp.vim.org/pub/vim/extra/vim-$pkgver-lang.tar.gz)
-for i in $(seq 1 $_patchlevel); do
-  source[$((i+2))]=ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.$(printf "%03d" $i)
-done
-
-build()
-{
-  cd $startdir/src/vim70
-  # patch party
-  for i in $(seq 1 $_patchlevel); do
-    patch -Np0 < ../7.0.$(printf "%03d" $i)
-  done
-  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*"\) .*$|\1|' src/feature.h
-  # build party
-  ./configure --prefix=/usr --localstatedir=/var/lib/$pkgname \
-    --disable-gpm --disable-acl --with-x=no --disable-gui --enable-multibyte \
-    --enable-cscope --with-feature=big --enable-perlinterp
-  make || return 1
-  make  VIMRCLOC=/etc DESTDIR=$startdir/pkg VIMRTDIR= install
-  cd $startdir/pkg/usr/bin
-  ln -sf vim vi
-  install -Dm644 $startdir/pkg/usr/share/vim/vimrc_example.vim \
-    $startdir/pkg/etc/vimrc
-  rm -f $startdir/pkg/usr/share/vim/gvimrc_example.vim
-}
-md5sums=('4ca69757678272f718b1041c810d82d8' '200f741ecc2a896fca25486764fa18a2'\
-         '6d43efaff570b5c86e76b833ea0c6a04' 'f0a2d3a337ae83e9e2d95156a78325bb'\
-         'ede30f39fde8a3e8ac09cfd7b5411c65' '75a36566e2082f94ed61a4077c943b2f'\
-         '7269378bd86145ea0eaffe1eb0a5493d' 'f2aea41b0fc83c0fe1ed1441bbfd72cb'\
-         '55b7d25640b76317ab85e307eb132766' '9657085af81eaa8e7e6c9e48d307f272'\
-         '090cdd1e165bc40a922c5117d0a59601' '68ac9f593605a753366fc8ac42fd79e6'\
-         '56504f4ec9d6b4d6ed7335199681ee1e')
Index: unstable/editors/vim-devel/vim-devel.install
diff -u unstable/editors/vim-devel/vim-devel.install:1.3 unstable/editors/vim-devel/vim-devel.install:removed
--- unstable/editors/vim-devel/vim-devel.install:1.3	Tue Apr 18 14:16:47 2006
+++ unstable/editors/vim-devel/vim-devel.install	Mon Aug 20 22:38:37 2007
@@ -1,38 +0,0 @@
-pre_remove() {
-	# if vi is a binary instead of a symlink we have an intact gvim installation
-	# with a different binary/symlink structure
-	# we recover what pacmans database know about Vim
-	if [ ! -L /usr/bin/vi ] && [ -L /usr/bin/gvim ]; then
-		rm -f /usr/bin/gvim
-		mv -f /usr/bin/vim /usr/bin/gvim
-		mv -f /usr/bin/vi /usr/bin/vim
-		ln -sf /usr/bin/vim /usr/bin/vi
-		echo "restore original vim/gvim binaries layout ..."
-	fi
-}
-
-post_install() {
-	# if we have an existing gvim installation - relocate binaries and symlinks
-	if [ ! -L /usr/bin/gvim ] && [ -e /usr/bin/gvim ]; then
-		rm -f /usr/bin/vi
-		mv -f /usr/bin/vim /usr/bin/vi
-		mv -f /usr/bin/gvim /usr/bin/vim
-		ln -sf /usr/bin/vim /usr/bin/gvim
-		echo "move vim/gvim binaries and symlinks..."
-	fi
-}
-
-post_upgrade() {
-	post_install $1
-}
-
-pre_upgrade() {
-	pre_remove $1
-}
-
-
-op=$1
-shift
-
-$op $*
-# vim: ft=sh 




More information about the arch-commits mailing list