summaryrefslogtreecommitdiffstats
path: root/vim/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /vim/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'vim/Pkgfile')
-rw-r--r--vim/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/vim/Pkgfile b/vim/Pkgfile
new file mode 100644
index 0000000..ea0855e
--- /dev/null
+++ b/vim/Pkgfile
@@ -0,0 +1,31 @@
+description="Highly configurable text editor"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.vim.org/"
+depends=(ncurses acl)
+
+name=vim
+version=7.3.50
+release=1
+source=(ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 http://crux.nu/files/distfiles/vim-7.3.001-050.xz)
+build ()
+{
+ cd vim73/src;
+ unxz -c $SRC/vim-7.3.*.xz | patch -p0 -d $SRC/vim73;
+ ./configure --prefix=/usr --mandir=/usr/man --with-vim-name=vim --with-x=no --enable-gui=no --enable-multibyte --disable-gpm --disable-nls;
+ make VIMRTDIR=;
+ make VIMRTDIR= DESTDIR=$PKG installvimbin installruntime installlinks;
+ mv $PKG/usr/share/vim/vimrc_example.vim $PKG/usr/share/vim/vimrc;
+ rm -r $PKG/usr/{man/man?/vimtutor*,share/vim/{tutor,macros}};
+ rm $PKG/usr/share/vim/*/README.txt;
+ ln -sf vim $PKG/usr/bin/evim;
+ ln -sf /bin/vi $PKG/usr/bin/vi;
+ ln -sf vim.1.gz $PKG/usr/man/man1/ex.1.gz;
+ ln -sf vim.1.gz $PKG/usr/man/man1/vi.1.gz;
+ ln -sf vim.1.gz $PKG/usr/man/man1/rvim.1.gz;
+ ln -sf vim.1.gz $PKG/usr/man/man1/view.1.gz;
+ ln -sf vim.1.gz $PKG/usr/man/man1/rview.1.gz;
+ ln -sf vim.1.gz $PKG/usr/man/man1/gvim.1.gz;
+ ./configure --prefix=/ --with-vim-name=vi --with-x=no --enable-gui=no --enable-multibyte --disable-gpm --disable-nls --with-features=tiny;
+ make VIMRTDIR= DESTDIR=$PKG installvimbin
+}