[arch-general] vi again

Grigorios Bouzakis grbzks at gmail.com
Mon May 25 17:46:00 EDT 2009


On Mon, May 25, 2009 at 05:26:56PM +0000, Baho Utot wrote:
> 
> I am trying to build vi in core.....any one have a patch to make it
> compile without me preforming surgery on the PKGBUILD and bash scripts?
> 
> Thanks
> 

This is what im building, replacing vi and vim in one.
After all vi in core will not be a vim anymore soon, but an nvi.
I just started using it yesterday so its not thoroyghly tested.

-- 
Greg
-------------- next part --------------
# Contributor: Grigorios Bouzakis <grbzks at gmail.com>
pkgname=vim
pkgver=7.2
_dirver=72
pkgrel=1
pkgdesc="Vi Improved"
arch=('i686' 'x86_64')
url="http://www.vim.org"
license=('custom')
depends=('gpm' 'coreutils' 'perl')
makedepends=('wget' 'sed' 'grep' 'gettext' 'perl')
backup=(etc/vimrc)
source=(http://ftp.vim.org/pub/vim/unix/$pkgname-$pkgver.tar.bz2
	LICENSE)
md5sums=('f0901284b338e448bfd79ccca0041254'
	 '636f38dc2d3903a59805d3d7d17dd3ff')

build() {
  cd $srcdir/$pkgname$_dirver

  ./configure \
  	--prefix=/usr \
	--enable-perlinterp \
	--enable-cscope \
	--enable-multibyte \
	--disable-gui \
	--with-features=big \
	--without-x
  make || return 1
  make DESTDIR=$pkgdir install

  install -D -m 644 runtime/vimrc_example.vim $pkgdir/etc/vimrc

  cd $pkgdir/usr/bin
  ln -sf vim vi

  install -D -m 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://www.archlinux.org/pipermail/arch-general/attachments/20090526/ba75d19d/attachment-0001.pgp>


More information about the arch-general mailing list