summaryrefslogtreecommitdiffstats
path: root/vim/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'vim/PKGBUILD')
-rw-r--r--vim/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/vim/PKGBUILD b/vim/PKGBUILD
index e0605a0..c3faac6 100644
--- a/vim/PKGBUILD
+++ b/vim/PKGBUILD
@@ -3,14 +3,13 @@
pkgname=vim
_srcver=7.2
-_patchlevel=218
+_patchlevel=234
pkgver=${_srcver}.${_patchlevel}
pkgrel=1
pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor'
arch=(i686 x86_64)
license=('custom:vim')
url="http://www.vim.org"
-groups=('base')
depends=('gpm' 'coreutils')
makedepends=('wget' 'sed' 'grep' 'gettext' 'perl')
optdepends=('perl: the runtime provides a view useful perl scripts')
@@ -20,7 +19,7 @@ install=${pkgname}.install
source=(ftp://ftp.vim.org/pub/vim/unix/vim-${_srcver}.tar.bz2 \
ftp://ftp.vim.org/pub/vim/extra/vim-${_srcver}-extra.tar.gz \
ftp://ftp.vim.org/pub/vim/extra/vim-${_srcver}-lang.tar.gz \
- fetch_patches.sh fetch_runtime.sh)
+ fetch_patches.sh fetch_runtime.sh vimrc archlinux.vim)
build()
{
@@ -37,7 +36,7 @@ build()
--with-compiledby=ArchLinux --with-features=big \
--enable-gpm --enable-acl --with-x=no --disable-gui \
--enable-multibyte --enable-cscope \
- --enable-perlinterp --enable-pythoninterp
+ --enable-perlinterp
#--with-global-runtime=/usr/share/vim --with-vim-name=vim \
make || return 1
make VIMRCLOC=/etc DESTDIR=${pkgdir} install
@@ -60,8 +59,10 @@ build()
_runtimedir="${pkgdir}/usr/share/vim/${_versiondir}/"
update_runtime
- install -Dm644 ${_runtimedir}/vimrc_example.vim \
- ${pkgdir}/etc/vimrc
+ cd ${srcdir}/${_versiondir}
+ install -Dm644 ${srcdir}/vimrc ${pkgdir}/etc/vimrc
+ install -Dm644 ${srcdir}/archlinux.vim \
+ ${pkgdir}/usr/share/vim/vimfiles/archlinux.vim
install -dm755 ${pkgdir}/usr/share/licenses/vim
cd ${pkgdir}/usr/share/licenses/vim
ln -s ../../vim/${_versiondir}/doc/uganda.txt license.txt