You are not logged in.

#1 2005-03-21 16:08:53

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

[new] vim-devel

This may not works as expected... installs to /usr/local to not overwrite vim 6.3

pkgname=vim-devel
pkgver=7.0062
pkgrel=1
pkgdesc="VIM - Vi IMproved console"
url="http://www.vim.org"
depends=('glibc' 'ncurses' 'ctags' 'python')
backup=(etc/vimrc)
source=(ftp://ftp.vim.org/pub/vim/unstable/snapshot/vim-$pkgver.tar.bz2)

build()
{
    cd $startdir/src/vim7/src

   #for now, I'm installing in /usr/local so as to not clash with 6.3
    ./configure --prefix=/usr/local --localstatedir=/var/lib/$pkgname 
   --with-features=big --disable-gpm --with-x=no --enable-gui=no 
   --enable-multibyte --enable-cscope --enable-pythoninterp

   make CPPFLAGS=-DSYS_VIMRC_FILE="/etc/vimrc" VIMRTDIR=  auto/pathdef.c
   make CPPFLAGS=-DSYS_VIMRC_FILE=\"/etc/vimrc\" VIMRTDIR=  || return 1
   make DESTDIR=$startdir/pkg VIMRTDIR= install
   cd $startdir/pkg/usr/bin
   ln -sf vim vi
   mkdir -p $startdir/pkg/etc
   cp $startdir/pkg/usr/share/vim/vimrc_example.vim $startdir/pkg/etc/vimrc
}

Offline

#2 2005-03-21 16:45:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] vim-devel

and in case you didn't know... there's some new vim scripting features to make scripting better... and it looks like vim is getting some intellisense/codecomplete/whatever too... there's already some functionality there... try :help completefunc

Offline

#3 2005-03-21 22:21:08

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [new] vim-devel

How well does this work with the current gvim package? If at all?


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#4 2005-03-21 23:58:58

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] vim-devel

miqorz wrote:

How well does this work with the current gvim package? If at all?

well, if you want gvim 7.0, you'd have to rebuild with all the nice --enable-gtk2 type stuff.... I don't use gvim so only made a package for vim.... but it's not too hard... if you'd like i'll throw one together

Offline

#5 2005-03-22 05:28:24

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [new] vim-devel

I'm not really *into* vim but after taking a look at the gvim package I can see what you mean.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#6 2005-03-22 06:01:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] vim-devel

miqorz wrote:

I'm not really *into* vim but after taking a look at the gvim package I can see what you mean.

yeah, actually the way the arch packages work, the vim package has the minimal dependancy crap... command line things and whatnot... and the gvim package has *just* the binary for gvim, and requires the additional files from the vim package

Offline

#7 2005-03-22 14:36:47

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] vim-devel

yeah, I kinda built it by hand *then* made the pkgbuild, so I figured it'd have issues - can you post the PKGBUILD you used, for others that want to try?

Offline

Board footer

Powered by FluxBB