summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-08 22:47:54 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-08 22:47:54 (GMT)
commit83ce0340f07948bb4e4ae4b8557984cfc7ee3afc (patch)
tree09d8a4e3f7a4010bce4b4057ae5f1b358bf5fb3a /abs/core-testing
parentd56c4ac4455ec1cba830eccc6d8b3bae5c865b89 (diff)
downloadlinhes_pkgbuild-83ce0340f07948bb4e4ae4b8557984cfc7ee3afc.zip
linhes_pkgbuild-83ce0340f07948bb4e4ae4b8557984cfc7ee3afc.tar.gz
linhes_pkgbuild-83ce0340f07948bb4e4ae4b8557984cfc7ee3afc.tar.bz2
bump vi to 7.2
Diffstat (limited to 'abs/core-testing')
-rw-r--r--abs/core-testing/vi/PKGBUILD26
-rw-r--r--abs/core-testing/vi/fetch_patches.sh3
2 files changed, 15 insertions, 14 deletions
diff --git a/abs/core-testing/vi/PKGBUILD b/abs/core-testing/vi/PKGBUILD
index 1165431..3bfc4db 100644
--- a/abs/core-testing/vi/PKGBUILD
+++ b/abs/core-testing/vi/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 3026 2008-06-18 02:38:15Z eric $
+# $Id: PKGBUILD 17437 2008-10-29 18:56:25Z tobias $
# Maintainer: tobias [ tobias at archlinux org ]
pkgname=vi
-_srcver=7.1
-_patchlevel=330
+_srcver=7.2
+_patchlevel=30
pkgver=${_srcver}.${_patchlevel}
-pkgrel=10
+pkgrel=1
pkgdesc="a highly configurable, improved version of the vi text editor (basic version)"
arch=(i686 x86_64)
license=('custom:vim')
url="http://www.vim.org"
groups=('base')
depends=('glibc' 'ncurses' 'coreutils')
-makedepends=('wget' 'sed' 'grep')
+makedepends=('wget' 'sed' 'grep' 'gettext')
backup=(etc/virc)
install=${pkgname}.install
# we need the extra-stuff to get all patches applied smoothly
@@ -20,8 +20,8 @@ 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)
-md5sums=('44c6b4914f38d6f9aa959640b89da329' '605cc7ae31bcc9d7864bb0bb6025f55d' \
- '144aa049ba70621acf4247f0459f3ee7' '0fbebfbf8464b1e65fb6a9ca4bddefe1' \
+md5sums=('f0901284b338e448bfd79ccca0041254' '35e04482f07c57221c9a751aaa3b8dac' \
+ 'd8884786979e0e520c112faf2e176f05' 'a3b03cd44b8ed78a99850d4cbfaafe55' \
'92e3dc8844d446c1ecd28e7257a47cb7')
build()
@@ -45,14 +45,18 @@ build()
make || return 1
make VIMRCLOC=/etc DESTDIR=${startdir}/pkg VIMRTDIR= install
cd ${startdir}/pkg/usr/bin
- rm -f vim rvim view rview
+ rm -f vim rvim view rview vidiff
ln -s vi evi
+ # delete the manpages for vidiff, we don't bother with that symlink since vidiff doesn't work
+ find ${startdir}/pkg/usr/share/man -type d -name 'man1' 2> /dev/null | \
+ while read mandir; do
+ cd ${mandir}
+ rm -f vidiff.1
+ done
+
_runtimedir="${startdir}/pkg/usr/share/vim/"
update_runtime
- # kill vim and x specific stuff
- sed -i '/vms/,+4 d;/Convenient command/,+3 d;/mouse work/,+2 d'\
- ${startdir}/pkg/usr/share/vim/vimrc_example.vim
install -Dm644 ${startdir}/pkg/usr/share/vim/vimrc_example.vim \
${startdir}/pkg/etc/virc
rm -f ${startdir}/pkg/usr/share/vim/gvimrc_example.vim
diff --git a/abs/core-testing/vi/fetch_patches.sh b/abs/core-testing/vi/fetch_patches.sh
index 1f38e42..03e16e2 100644
--- a/abs/core-testing/vi/fetch_patches.sh
+++ b/abs/core-testing/vi/fetch_patches.sh
@@ -43,9 +43,6 @@ get_patches() {
fi
done
- ## TEMPFIX stupid fuckup upstream
- mv ./7.1.126ne ./7.1.126
- downloads=$((${downloads} - 1))
########
if [ ${downloads} != ${_patchlevel} ]; then