Taylor Venable avatar Taylor Venable committed f58c853 Merge

merge

Comments (0)

Files changed (45)

 ./*/pkg
 ./*/*.pkg.tar.xz
 ./*/*.src.tar.gz
+./*/*.tgz
+./*/*.tbz
+./*/*.tar.gz
+./*/*.tar.bz2
+./*/*.tar.xz
 
 # Temporary files used by TeX
 *.{aux,fdb_latexmk,glo,hd,idx,ilg,ind,ins,log,out,toc}

File contents unchanged.

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='bigloo'
-_pkgver='3.7a-2'
+_pkgver='3.9a'
 pkgver="${_pkgver/-/_}"
 pkgrel=1
 pkgdesc="Fast scheme compiler"
 url="http://www-sop.inria.fr/mimosa/fp/Bigloo/"
 license=('GPL' 'LGPL')
 depends=('openssl' 'sqlite3')
-makedepends=('java-environment' 'zip')
+makedepends=('zip')
 optdepends=('emacs')
 options=('!makeflags')
 install=bigloo.install
 source=("ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${pkgname}${_pkgver}.tar.gz")
-md5sums=('1a692b950843e36910e13e0e91f90534')
+sha256sums=('3ef47b10785105f11414340ce59b9bcd1ba95e9b775bfddb640a0dbbd803386c')
 
 build() {
-  cd "${srcdir}/${pkgname}${_pkgver}"
+  cd "${srcdir}/${pkgname}${_pkgver%-*}"
   ./configure --prefix=/usr \
     --enable-ssl \
     --enable-sqlite \
     --disable-gstreamer \
     --mandir=/usr/share/man \
     --infodir=/usr/share/info \
-    --docdir=/usr/share/doc/bigloo \
-    --dotnet=no \
-    --jvm=yes
+    --docdir=/usr/share/doc/bigloo
   make build compile-bee
 }
 
 package() {
-  cd "${srcdir}/${pkgname}${_pkgver}"
+  cd "${srcdir}/${pkgname}${_pkgver%-*}"
   make DESTDIR="${pkgdir}" install install-bee
   make -C manuals DESTDIR="${pkgdir}" install-bee
   chmod 644 "${pkgdir}/usr/lib/bigloo/${_pkgver%-*}"/*.a

cmus-git/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='cmus-git'
-pkgver=20111207
+pkgver=20121003
 pkgrel=1
 pkgdesc="A very feature-rich ncurses-based music player"
 url="http://gitorious.org/cmus/"
 
 package() {
   cd "${srcdir}/${_gitname}-build"
-  make DESTDIR="${pkgdir}"
+  make DESTDIR="${pkgdir}" install
 }

emacs-bzr/PKGBUILD

 # Maintainer: Neil Santos <nsantos16+aur@gmail.com>
 
-# Don't compile against Gtk+ 3.x by default; stick with Gtk+ 2.x
-_opt_use_gtk3="n"
+# Compile against Gtk+ 2.x, instead of the default 3.x
+_opt_use_gtk2="n"
+# Emacs is leaking like a sieve on my box with the default values;
+# this should be the number of bytes Emacs should allocate for pure
+# storage (see Elisp manual).  Default as of writing this is 1.62 megs
+# (not the final value; there are still calculations done on it).
+_opt_puresize="2000000"
 
 pkgname=emacs-bzr
-pkgver=106938
+pkgver=110380
 pkgrel=1
 pkgdesc='The extensible, customizable, self-documenting real-time display editor from its official Bzr repository'
 arch=('i686' 'x86_64')
 url='http://www.gnu.org/software/emacs/'
 license=('GPL3')
-if [[ $_opt_use_gtk3 = "y" ]]; then
-  depends=('dbus-core' 'libpng' 'libtiff' 'librsvg' 'giflib' 'gtk3' 'libxpm' 'libjpeg>=7' 'hicolor-icon-theme')
+if [[ $_opt_use_gtk2 = "y" ]]; then
+  depends=('dbus-core' 'desktop-file-utils' 'libpng' 'libtiff' 'librsvg' 'giflib' 'gtk2' 'libxpm' 'libjpeg>=7' 'hicolor-icon-theme')
 else
-  depends=('dbus-core' 'libpng' 'libtiff' 'librsvg' 'giflib' 'gtk2' 'libxpm' 'libjpeg>=7' 'hicolor-icon-theme')
+  depends=('dbus-core' 'desktop-file-utils' 'libpng' 'libtiff' 'librsvg' 'giflib' 'gtk3' 'libxpm' 'libjpeg>=7' 'hicolor-icon-theme')
 fi
 
 makedepends=('bzr' 'pkgconfig' 'texinfo')
 
   cp -urT $_bzrmod/ ${_bzrmod}-build
   cd ${_bzrmod}-build
+  msg "Adjusting BASE_PURESIZE to avoid possible leaks"
+  sed -i -e "s/\(define BASE_PURESIZE\s*(*\)[0-9]*/\1${_opt_puresize}/" src/puresize.h
 
-  #  msg "Trying to ensure building from a clean(-ish) state..."
-  #  make clean
+  msg "Bootstrapping Emacs Lisp files..."
+  make bootstrap
 
   mandir=/usr/share/man
   msg "Starting make..."
-  if [[ $_opt_use_gtk3 = "y" ]]; then
+  if [[ $_opt_use_gtk2 = "y" ]]; then
+    ./autogen.sh && ./configure --prefix=/usr \
+      --sysconfdir=/etc \
+      --localstatedir=/var \
+      --libexecdir=/usr/lib \
+      --mandir=${mandir} \
+      --without-sound \
+      --with-xft \
+      --with-x-toolkit=gtk2
+  else
     ./autogen.sh && ./configure --prefix=/usr \
       --sysconfdir=/etc \
       --localstatedir=/var \
       --without-sound \
       --with-xft \
       --with-x-toolkit=gtk3
-  else
-    ./autogen.sh && ./configure --prefix=/usr \
-      --sysconfdir=/etc \
-      --localstatedir=/var \
-      --libexecdir=/usr/lib \
-      --mandir=${mandir} \
-      --without-sound \
-      --with-xft \
-      --with-x-toolkit=gtk
   fi
-  make bootstrap
   make
   make DESTDIR=${pkgdir} install
 
   mv $pkgdir${mandir}/man1/{etags.1,etags.emacs.1}.gz
   mv $pkgdir${mandir}/man1/{ctags.1,ctags.emacs.1}.gz
 
+  # This is mostly superfluous, and conflicts with texinfo
+  rm $pkgdir/usr/share/info/info.info.gz
+  rm $pkgdir/usr/share/info/dir
+
   find $pkgdir/usr/share/emacs -type d -exec chmod 755 {} \;
   find $pkgdir/usr/share/emacs -exec chown root.root {} \;
   chmod 775 $pkgdir/var/games
   chmod 775 $pkgdir/var/games/emacs
   chmod 664 $pkgdir/var/games/emacs/*
   chown -R root:50 $pkgdir/var/games
-
-  rm $pkgdir/usr/share/info/dir
 }

emacs-bzr/emacs-bzr.install

 
 INFO_FILES=(ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse
 ede ediff edt efaq eieio eintr elisp emacs emacs-mime epa erc ert eshell
-eudc flymake forms gnus idlwave info mairix-el message mh-e newsticker
+eudc flymake forms gnus idlwave mairix-el message mh-e newsticker
 nxml-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses
 sieve smtpmail speedbar tramp url vip viper widget woman)
 
   gtk-update-icon-cache -q -t -f ${ICON_PATH}
   update-desktop-database -q
 
-  [[ -x usr/bin/install-info ]] || return 0
+  [[ -x /usr/bin/install-info ]] || return 0
   for f in ${INFO_FILES[@]}; do
-    install-info ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2> /dev/null
+    install-info ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
   done
 }
 
   gtk-update-icon-cache -q -t -f ${ICON_PATH}
   update-desktop-database -q
 
-  [[ -x usr/bin/install-info ]] || return 0
+  [[ -x /usr/bin/install-info ]] || return 0
   for f in ${INFO_FILES[@]}; do
-    install-info --delete ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2> /dev/null
+    install-info --delete ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
   done
 }
-# Maintainer: Taylor Venable <taylor@metasyntax.net>
+# $Id: PKGBUILD 69792 2012-04-23 09:41:50Z ibiru $
+# Maintainer: Lukas Fleischer <archlinux@cryptocrack.de>
+# Contributor: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
+# Contributor: Tom Burdick <thomas.burdick@wrightwoodtech.com>
 
-pkgname='erlang'
-pkgver='R15B'
+pkgname=erlang
+pkgver=R15B01
 pkgrel=1
 pkgdesc='A small concurrent functional programming language developed by Ericsson.'
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
 url='http://www.erlang.org/index.html'
 license=('custom')
 depends=('ncurses' 'glibc')
-makedepends=('java-environment' 'perl' 'openssl' 'wxgtk' 'unixodbc')
-optdepends=('wxgtk: for wx support' 'unixodbc: database')
-
+makedepends=('java-environment' 'perl' 'openssl' 'wxgtk' 'unixodbc>=2.3.1' 'mesa')
+optdepends=('wxgtk: for wx support'
+            'mesa: for wx support'
+            'unixodbc: database'
+            'java-environment: for Java support')
 options=('!makeflags')
-source=("http://www.erlang.org/download/otp_src_${pkgver}.tar.gz"
-        "http://www.erlang.org/download/otp_doc_man_${pkgver}.tar.gz")
-md5sums=('dd6c2a4807551b4a8a536067bde31d73'
-         '9738da523737712a9db87db0dee05338')
+source=("http://www.erlang.org/download/otp_src_${pkgver/./-}.tar.gz"
+        "http://www.erlang.org/download/otp_doc_man_${pkgver/./-}.tar.gz")
+md5sums=('f12d00f6e62b36ad027d6c0c08905fad'
+         'd87412c2a1e6005bbe29dfe642a9ca20')
 
 build() {
-  cd "$srcdir/otp_src_${pkgver}"
+  cd "$srcdir/otp_src_${pkgver/./-}"
 
-  # fix for #17001
-  #sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure
-  #sed -i '/SSL_DYNAMIC_ONLY=/s:no:yes:' erts/configure
+  export ERTSVERSION=$(sed -n 's/^VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < erts/vsn.mk)
+  export ERLINTERFACEVERSION=$(sed -n 's/^EI_VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < \
+    lib/erl_interface/vsn.mk)
 
-  #env CFLAGS="${CFLAGS} -fno-strict-aliasing"
-    ./configure --prefix=/usr --enable-smp-support --enable-threads
+  sed -i '/SSL_DYNAMIC_ONLY=/s:no:yes:' erts/configure
+
+  CFLAGS="${CFLAGS} -fno-strict-aliasing" ./configure --prefix=/usr --enable-smp-support \
+    --enable-threads
   make
 }
 
 package() {
-  cd "$srcdir/otp_src_${pkgver}"
-
-  ERTSVERSION=$(sed -n 's/^VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < erts/vsn.mk)
-  ERLINTERFACEVERSION=$(sed -n 's/^EI_VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < lib/erl_interface/vsn.mk)
+  cd "$srcdir/otp_src_${pkgver/./-}"
 
   make INSTALL_PREFIX="$pkgdir" install
 
-# fix prefix
-  cd "$pkgdir"
-  for i in usr/lib/erlang/bin/erl \
-      usr/lib/erlang/bin/start \
-      usr/lib/erlang/erts-${ERTSVERSION}/bin/erl \
-      usr/lib/erlang/erts-${ERTSVERSION}/bin/start \
-      usr/lib/erlang/releases/RELEASES ;do
-    sed -i "s#$pkgdir##" $i
-  done
+  # fix prefix
+  cd "$pkgdir/usr/lib/erlang"
+  sed -i "s#$pkgdir##" bin/erl bin/start "erts-${ERTSVERSION}/bin/erl" \
+    "erts-${ERTSVERSION}/bin/start" releases/RELEASES
 
-# fix symlinks
-  cd "$pkgdir/usr/lib/erlang/bin"
-  ln -sf ../erts-${ERTSVERSION}/bin/epmd
+  # fix symlinks
+  cd bin/
+  ln -sf "../erts-${ERTSVERSION}/bin/epmd"
 
   cd "$pkgdir/usr/bin"
   for file in *; do
-    ln -sfv ../lib/erlang/bin/$file
+    ln -sfv "../lib/erlang/bin/$file"
   done
 
-  ln -s ../lib/erlang/lib/erl_interface-${ERLINTERFACEVERSION}/bin/erl_call "$pkgdir/usr/bin/erl_call"
+  ln -s "../lib/erlang/lib/erl_interface-${ERLINTERFACEVERSION}/bin/erl_call" \
+    "$pkgdir/usr/bin/erl_call"
 
-# install documentation
+  # install documentation
   install -d "$pkgdir/usr/share/doc/erlang"
-  install -D -m644 "$srcdir"/{COPYRIGHT,PR.template,README} "$pkgdir/usr/share/doc/erlang"
+  install -Dm0644 "$srcdir"/{COPYRIGHT,PR.template,README} "$pkgdir/usr/share/doc/erlang"
+
+  # install man pages
   cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang"
 
-  install -D -m644 "$srcdir/otp_src_${pkgver}/EPLICENCE" "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE"
+  # install license
+  install -Dm644 "$srcdir/otp_src_${pkgver/./-}/EPLICENCE" \
+    "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE"
 }

gambit-c-git/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='gambit-c-git'
-pkgver=20120217
+pkgver=20121107
 pkgrel=1
-
-distname='gambc'
-distver='4.6.4'
-distpath="${distname}-v${distver//./_}-devel"
-
 pkgdesc="Scheme R5RS interpreter and compiler (into portable C)"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url='http://dynamo.iro.umontreal.ca/~gambit/'
 license=('LGPL' 'APACHE')
 makedepends=('gcc')
 
 conflicts=('gambit-c')
-provides=("gambit-c=${distver}")
+provides=('gambit-c')
 
-source=("http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/${distpath}.tgz")
 install='gambit-c.install'
-md5sums=('c5a546032468a0abc3bab7af64ae5623')
 
-_gitroot='http://www.iro.umontreal.ca/~gambit/repo/gambit.git'
+_gitroot='git://github.com/feeley/gambit.git'
 _gitname='gambit'
 
 build() {
-  cd "${srcdir}/${distpath}"
+  cd "${startdir}/src"
+
+  if [[ -d ${startdir}/src/${_gitname} ]]; then
+    cd "${_gitname}" && git pull origin
+  else
+    git clone "${_gitroot}"
+  fi
+
+  # Make a copy of the source code so we can build there and keep the other
+  # source directory (which we will update in subsequent builds) clean.
+
+  rm -rf "${srcdir}/${_gitname}-build"
+  git clone -l "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
+  cd "${srcdir}/${_gitname}-build"
 
   CFGOPTS='--prefix=/usr
     --docdir=/usr/share/doc/gambit-c
     --enable-single-host'
 
   ./configure $CFGOPTS
+  make bootstrap
+  make bootclean
   make
-
-  # Second phase: with newly-created compiler, build again.
-
-  rm -f 'makefile.in'
-  rm -f 'prebuilt/remote-connect'
-
-  git pull 'http://www.iro.umontreal.ca/~gambit/repo/gambit.git/'
-  make clean
-  make
-
-  # make bootstrap
-  # make update
-  # make
 }
 
 package() {
-  cd "${srcdir}/${distpath}"
+  cd "${srcdir}/${_gitname}-build"
   make DESTDIR="$pkgdir" install
 
   # gsc conflicts with the one provided by ghostscript...
   rm gsc-script
   ln -s gambitc gsc-script
 }
+
+## Local Variables:
+## mode: sh
+## End:

gambit-c/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='gambit-c'
-pkgver='4.6.4'
+pkgver='4.6.6'
 pkgrel=1
 
 distname='gambc'
 
 source=("http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/${distpath}.tgz")
 install='gambit-c.install'
-md5sums=('c5a546032468a0abc3bab7af64ae5623')
+md5sums=('55776c2f88cab9a595cbd9487f474787')
 
 build() {
   cd "${srcdir}/${distpath}"

gauche-git/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='gauche-git'
-pkgver=20120213
-pkgrel=1
+pkgver=20120801
+pkgrel=2
 pkgdesc="R5RS Scheme implementation developed to be a handy script interpreter"
 arch=('i686' 'x86_64')
 url='http://practical-scheme.net/gauche/index.html'
         'doc-makefile.patch')
 install="$pkgname.install"
 md5sums=('1ddf7c6dbfc61780bf5118e80d45cb1d'
-         '072d98c3a20c797ce72a118c87d20243')
+         '56072e401c3e5aafefa46824f52f79c9')
 
 _gitroot='git://gauche.git.sourceforge.net/gitroot/gauche/Gauche'
 _gitname='gauche'
   cd "$srcdir/$_gitname-build"
 
   ./DIST gen
-  patch -p1 < "${srcdir}/doc-makefile.patch"
+  patch -p0 < "${srcdir}/doc-makefile.patch"
   ./configure --prefix=/usr --enable-multibyte=utf-8 --enable-threads=pthreads
   patch "lib/Makefile" "${startdir}/makefile_slib.diff"
   make

gauche-git/doc-makefile.patch

-diff --git a/doc/Makefile.in b/doc/Makefile.in
-index 68558fa..3e3fb0d 100644
---- a/doc/Makefile.in
-+++ b/doc/Makefile.in
-@@ -78,9 +78,9 @@ test :
+--- doc/Makefile.in.orig	2012-03-20 05:07:45.000000000 -0400
++++ doc/Makefile.in	2012-08-01 16:01:56.447879601 -0400
+@@ -78,9 +78,9 @@
  
  texi : gauche-refe.texi gauche-refj.texi
  
  
  dvi : gauche-refe.dvi
  
-@@ -89,10 +89,10 @@ pdf : gauche-refe.pdf
+@@ -89,10 +89,10 @@
  info : gauche-refe.info.gz gauche-refj.info.gz
  
  gauche-refe.html : gauche-refe.texi
  
  gauche-refe.dvi : gauche-refe.texi
  	texi2dvi gauche-refe.texi
-@@ -113,10 +113,10 @@ gauche-refe.info.gz : gauche-refe.texi
+@@ -113,10 +113,10 @@
  	fi
  
  gauche-refj.html : gauche-refj.texi
  	for f in gauche-refj*.html; do \
  	  sed 's/^<body lang="en"/<body lang="ja"/' $$f > $$f.t && mv $$f.t $$f; \
  	done
-@@ -141,7 +141,7 @@ gauche-deve.texi : gauche-dev.texi extract
+@@ -141,7 +141,7 @@
  	$(GOSH) $(srcdir)/extract -en -o gauche-deve.texi gauche-dev.texi
  
  gauche-deve.html : gauche-deve.texi
 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='gauche'
-pkgver='0.9.2'
+pkgver='0.9.3.3'
 pkgrel=1
 url='http://practical-scheme.net/gauche/index.html'
 pkgdesc='R5RS Scheme implementation developed to be a handy script interpreter'
 source=("http://downloads.sourceforge.net/gauche/Gauche-$pkgver.tgz"
         'makefile_slib.diff'
         'doc-makefile.patch')
-md5sums=('9979de5be0e35e57131508c4c606f5cb'
+md5sums=('5090ddccd8aa4d9995a73c20e7a355e8'
          '1ddf7c6dbfc61780bf5118e80d45cb1d'
-         '472411b5dab8f08924c9a2fc712d7975')
+         '56072e401c3e5aafefa46824f52f79c9')
 install="$pkgname.install"
 
 build() {

gauche/doc-makefile.patch

---- doc/Makefile.in.orig	2011-10-28 14:57:29.108009377 -0400
-+++ doc/Makefile.in	2011-10-28 14:57:46.348009290 -0400
+--- doc/Makefile.in.orig	2012-03-20 05:07:45.000000000 -0400
++++ doc/Makefile.in	2012-08-01 16:01:56.447879601 -0400
 @@ -78,9 +78,9 @@
  
  texi : gauche-refe.texi gauche-refj.texi
  	fi
  
  gauche-refj.html : gauche-refj.texi
--	texi2html --init-file=ja-init.pl --number gauche-refj.texi
-+	texi2html --init-file=ja-init.pl --number-sections gauche-refj.texi
+-	texi2html --init-file=$(srcdir)/ja-init.pl --number gauche-refj.texi
++	texi2html --init-file=$(srcdir)/ja-init.pl --number-sections gauche-refj.texi
  
  gauche-refj_toc.html : gauche-refj.texi
--	texi2html --init-file=ja-init.pl --split section --number gauche-refj.texi
-+	texi2html --init-file=ja-init.pl --split section --number-sections gauche-refj.texi
+-	texi2html --init-file=$(srcdir)/ja-init.pl --split section --number gauche-refj.texi
++	texi2html --init-file=$(srcdir)/ja-init.pl --split section --number-sections gauche-refj.texi
  	for f in gauche-refj*.html; do \
  	  sed 's/^<body lang="en"/<body lang="ja"/' $$f > $$f.t && mv $$f.t $$f; \
  	done
 @@ -141,7 +141,7 @@
- 	$(GOSH) ./extract -en -o gauche-deve.texi gauche-dev.texi
+ 	$(GOSH) $(srcdir)/extract -en -o gauche-deve.texi gauche-dev.texi
  
  gauche-deve.html : gauche-deve.texi
 -	texi2html --number gauche-deve.texi

guile-git/PKGBUILD

-# Maintainer: Taylor Venable <taylor@metasyntax.net>
+# Maintainer: Patrick McCarty <pnorcks at gmail dot com>
 
-pkgname='guile-git'
-pkgver=20111016
+pkgname=guile-git
+pkgver=20121029
 pkgrel=1
-pkgdesc='Guile is a portable, embeddable Scheme implementation written in C'
-url='http://www.gnu.org/software/guile/'
+pkgdesc="A portable, embeddable Scheme implementation (Git snapshot)"
+url="http://www.gnu.org/software/guile/"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('gmp>=4.3.1' 'libtool' 'ncurses>=5.7' 'texinfo' 'libunistring' 'gc' 'libffi')
-makedepends=('git')
+depends=('gc' 'gmp>=4.3.1' 'gperf' 'libffi' 'libtool'
+         'libunistring' 'ncurses>=5.7' 'texinfo')
 provides=('guile')
-conflicts=('guile')
-install='guile.install'
-options=('!libtool')
+conflicts=('guile' 'guile-devel')
+source=()
+md5sums=()
+options=('!strip')
 
-_gitroot='git://git.sv.gnu.org/guile.git'
-_gitname='guile'
+_gitroot="git://git.sv.gnu.org/guile.git"
+_gitname="guile"
 
 build() {
-  cd $startdir/src
+  cd "$srcdir"
+  msg "Connecting to git.sv.gnu.org..."
 
-  if [[ -d $startdir/src/$_gitname ]]; then
+  if [ -d $_gitname ] ; then
     cd $_gitname && git pull origin
+    msg "The local files are updated."
   else
     git clone $_gitroot
   fi
 
-  # Make a copy of the source code so we can build there and keep the other
-  # source directory (which we will update in subsequent builds) clean.
+  msg "GIT checkout done or server timeout"
+  msg "Starting make..."
 
-  rm -rf "${srcdir}/${_gitname}-build"
-  git clone -l "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
-  cd "${srcdir}/${_gitname}-build"
+  rm -rf "$srcdir/$_gitname-build"
+  cp -R "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+  cd "$srcdir/$_gitname-build"
 
-  if [[ ! -e configure ]]; then
-    ./autogen.sh
-  fi
-
-  ./configure --prefix=/usr
+  ./autogen.sh
+  ./configure --prefix=/usr --disable-error-on-warning
   make LDFLAGS+="-lpthread"
-  make html
-  make pdf
 }
 
 package() {
-  cd "${srcdir}/${_gitname}-build"
-  make DESTDIR="${pkgdir}" install
-  make DESTDIR="${pkgdir}" install-html
-  make DESTDIR="${pkgdir}" install-pdf
+  cd "$srcdir/$_gitname-build"
+  make DESTDIR="$pkgdir/" install
 }
+
+# vim:set ts=2 sw=2 et:

guile-git/guile.install

-infodir=usr/share/info
-filelist=(guile.info
-          r5rs.info)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-  done
-}
-
-# vim:set ts=2 sw=2 et:
 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='kawa'
-pkgver='1.11'
+pkgver='1.12'
 pkgrel=1
 pkgdesc='A scheme implementation and framework targeted the JVM.'
 arch=('i686' 'x86_64')
 license=('X11/MIT')
 depends=('java-runtime' 'tomcat6')
 source=("http://ftp.gnu.org/pub/gnu/kawa/$pkgname-$pkgver.tar.gz")
-md5sums=('641c543a9a0fd60f7132db139c7703e3')
+md5sums=('428617e7673c51015c4b9601cfe312e4')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"

mit-scheme-git/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname=mit-scheme-git
-pkgver=20111005
+pkgver=20120928
 pkgrel=1
 pkgdesc="MIT/GNU Scheme, from GIT"
 arch=('x86_64' 'i686')
 conflicts=('mit-scheme') # still no shit
 provides=('mit-scheme')
 
-_gitroot='http://git.savannah.gnu.org/cgit/mit-scheme.git'
-_gitname=mit-scheme
+_gitroot='git://git.sv.gnu.org/mit-scheme.git'
+_gitname='mit-scheme'
 
 build() {
     cd "$srcdir"

mosh-git/PKGBUILD

-# Maintainer: Taylor Venable <taylor@metasyntax.net>
-
-pkgname='mosh-git'
-pkgver=20111020
-pkgrel=1
-pkgdesc='A fast R6RS Scheme interpreter'
-arch=('i686' 'x86_64')
-url='http://code.google.com/p/mosh-scheme/'
-license=('MIT')
-depends=('gmp' 'oniguruma')
-makedepends=('git' 're2c')
-provides=('mosh')
-conflicts=('mosh')
-
-_gitroot='git://github.com/higepon/mosh.git'
-_gitname='mosh'
-
-build() {
-  cd "$srcdir"
-  msg 'Connecting to Git server...'
-  if [[ -d $_gitname ]]; then
-    cd "$_gitname" && git pull origin
-    msg 'The local files are updated.'
-  else
-    git clone "$_gitroot" "$_gitname"
-  fi
-  msg 'Git checkout done or server timeout'
-  cd "$srcdir"
-
-  rm -rf "${srcdir}/${_gitname}-build"
-  git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
-  cd "${srcdir}/${_gitname}-build"
-
-  ./gen-git-build.sh
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${_gitname}-build"
-  make DESTDIR="$pkgdir" install
-}

mosh-scheme-git/PKGBUILD

+# Maintainer: Taylor Venable <taylor@metasyntax.net>
+
+pkgname='mosh-scheme-git'
+pkgver=20120419
+pkgrel=1
+pkgdesc='A fast R6RS Scheme interpreter'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/mosh-scheme/'
+license=('MIT')
+depends=('gmp' 'oniguruma')
+makedepends=('git' 're2c')
+provides=('mosh-scheme')
+conflicts=('mosh-scheme')
+
+_gitroot='git://github.com/higepon/mosh.git'
+_gitname='mosh'
+
+build() {
+  cd "$srcdir"
+  msg 'Connecting to Git server...'
+  if [[ -d $_gitname ]]; then
+    cd "$_gitname" && git pull origin
+    msg 'The local files are updated.'
+  else
+    git clone "$_gitroot" "$_gitname"
+  fi
+  msg 'Git checkout done or server timeout'
+  cd "$srcdir"
+
+  rm -rf "${srcdir}/${_gitname}-build"
+  git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
+  cd "${srcdir}/${_gitname}-build"
+
+  ./gen-git-build.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${_gitname}-build"
+  make DESTDIR="$pkgdir" install
+}

mosh-scheme/PKGBUILD

+# Maintainer: Taylor Venable <taylor@metasyntax.net>
+
+pkgname='mosh-scheme'
+pkgver='0.2.7'
+pkgrel=1
+pkgdesc='A fast R6RS Scheme interpreter'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/mosh-scheme/'
+license=('MIT')
+depends=('gmp' 'oniguruma')
+source=("http://mosh-scheme.googlecode.com/files/mosh-${pkgver}.tar.gz")
+md5sums=('268598897536ff352296a905879940ad')
+
+build() {
+  cd "${srcdir}/mosh-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/mosh-${pkgver}"
+  make DESTDIR="$pkgdir" install
+}

mosh/PKGBUILD

-# Maintainer: Taylor Venable <taylor@metasyntax.net>
-
-pkgname='mosh'
-pkgver='0.2.7'
-pkgrel=1
-pkgdesc='A fast R6RS Scheme interpreter'
-arch=('i686' 'x86_64')
-url='http://code.google.com/p/mosh-scheme/'
-license=('MIT')
-depends=('gmp' 'oniguruma')
-source=("http://mosh-scheme.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
-md5sums=('268598897536ff352296a905879940ad')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="$pkgdir" install
-}

mysqltcl/PKGBUILD

+# Maintainer: CRT <crt.011@gmail.com>
+# Contributor: Mathieu Gauthier <mathgl@freesurf.fr>
+pkgname=mysqltcl
+pkgver=3.052
+pkgrel=1
+pkgdesc="Tcl Mysql Interface."
+arch=('i686' 'x86_64')
+url="http://www.xdobry.de/mysqltcl/"
+license=('BSD')
+md5sums=('3ee7962f7f994cb1e217236a11d0cf4c')
+depends=('libmysqlclient' 'tcl')
+source=("http://www.xdobry.de/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+
+build(){
+	cd "$srcdir/$pkgname-$pkgver"
+
+	./configure --prefix=/usr --enable-threads --enable-shared
+	make 
+	make DESTDIR="${pkgdir}/" install	
+	pushd "${pkgdir}/usr"
+	rm -r bin
+	rm -r include
+	popd
+}

ocaml-batteries/PKGBUILD

-# Maintainer: Taylor Venable <taylor@metasyntax.net>
+# Maintainer: Serge Zirukin <ftrvxmtrx@gmail.com>
+# Contributor: Sergei Lebedev <superbobry@gmail.com>
+# Contributor: Nicolas Pouillard <nicolas(dot)pouillard(at)gmail(dot)com>
+# Contributor: Sylvester Johansson <scj(at)archlinux(dot)us>
+# Contributor: Sergey Plaksin <serp256(at)gmail(dot)com>
 
 pkgname=ocaml-batteries
-pkgver=1.4.1
+pkgver=1.5.0
 pkgrel=1
-pkgdesc="Batteries Included for OCaml"
+pkgdesc="A comprehensive standard library for OCaml"
 arch=('i686' 'x86_64')
-url="http://forge.ocamlcore.org/projects/batteries/"
+url="https://forge.ocamlcore.org/projects/batteries/"
 license=('LGPL')
-depends=('ocaml' 'ocaml-findlib' 'ocaml-camomile' 'ocaml-ounit')
+depends=('ocaml' 'ocaml-findlib' 'ocaml-camomile>=0.7.0' 'ocaml-ounit')
 install=ocaml-batteries.install
-source=('https://forge.ocamlcore.org/frs/download.php/684/batteries-1.4.1.tar.gz')
+source=("http://forge.ocamlcore.org/frs/download.php/950/batteries-$pkgver.tar.gz")
+md5sums=('40b7022fddba246062fd489eeb15cd84')
 options=(!strip !makeflags)
-md5sums=('733d602a3a25ba9c4366eec9356fe5fb')
 
 build(){
   cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
 
-  export OCAMLBUILD='ocamlbuild -no-hygiene'
-
-  make all || return 1
-  make doc || return 1
+  OCAMLBUILD="ocamlbuild -no-links" make all doc
 }
 
 package(){
   cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
 
-  mkdir -p $pkgdir$(ocamlfind printconf destdir)/batteries || return 1
   export DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
   export OCAMLFIND_DESTDIR="$DESTDIR"
-  make install || return 1
-  DOCROOT="$pkgdir/usr/share/doc/$pkgname/" make install-doc || return 1
-  install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
-  install -Dm 644 ocamlinit $pkgdir/usr/share/doc/$pkgname/ocamlinit || return 1
+  mkdir -p $OCAMLFIND_DESTDIR
+
+  OCAMLBUILD="ocamlbuild -no-links" make install
+  DOCROOT="$pkgdir/usr/share/doc/$pkgname/" make install-doc
+  install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  install -Dm 644 ocamlinit $pkgdir/usr/share/doc/$pkgname/ocamlinit
 }
-
-# vim:set ts=2 sw=2 et:

ocaml-calendar/PKGBUILD

 
 srcname='calendar'
 pkgname="ocaml-${srcname}"
-pkgver='2.03.1'
+pkgver='2.03.2'
 pkgrel=1
 pkgdesc='OCaml library managing dates and times'
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('ocaml')
 makedepends=('ocaml-findlib')
-source=('https://forge.ocamlcore.org/frs/download.php/605/calendar-2.03.1.tar.gz')
-md5sums=('8f14a2c7d84e4caf03099b049716d728')
+source=('http://forge.ocamlcore.org/frs/download.php/915/calendar-2.03.2.tar.gz')
+md5sums=('4f50e3c9ad0eec3d06c0457a2ba0f0b4')
 options=('!strip')
 
 build() {

ocaml-camldbm/Makefile.patch

+--- Makefile.orig	2012-07-30 19:54:05.471186435 -0400
++++ Makefile	2012-07-30 19:54:17.414455067 -0400
+@@ -21,7 +21,7 @@
+ O=o
+ A=a
+ SO=so
+-LIBDIR=`ocamlc -where`
++LIBDIR=$(DESTDIR)/`ocamlc -where`
+ STUBLIBDIR=$(LIBDIR)/stublibs
+ 
+ 

ocaml-camldbm/PKGBUILD

+# Maintainer: Taylor Venable <taylor@metasyntax.net>
+
+srcname='camldbm'
+pkgname="ocaml-${srcname}"
+pkgver='1.0'
+pkgrel=1
+pkgdesc='An abstract engine for text editing'
+arch=('i686' 'x86_64')
+url='http://forge.ocamlcore.org/projects/camldbm/'
+license=('BSD')
+depends=('ocaml')
+makedepends=('ocaml-findlib')
+source=('http://forge.ocamlcore.org/frs/download.php/728/camldbm-1.0.tgz'
+        'Makefile.patch')
+options=('!strip')
+md5sums=('79a297c0e0c54fbb3c7e795359e5f902'
+         '79f65eff4468aa1377ca3e81055ddfe5')
+
+build() {
+    cd "$srcdir/${srcname}-${pkgver}"
+    patch -p0 < "$srcdir/Makefile.patch"
+    ./configure
+
+    env DESTDIR="$pkgdir" \
+        OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
+        make
+}
+
+
+package() {
+    mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
+    mkdir -p "$pkgdir/$(ocamlfind printconf destdir)/stublibs"
+    cd "$srcdir/${srcname}-${pkgver}"
+    env DESTDIR="$pkgdir" \
+        OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
+        make install
+    install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

ocaml-cryptokit/PKGBUILD

 
 srcname='cryptokit'
 pkgname="ocaml-${srcname}"
-pkgver='1.5'
+pkgver='1.6'
 pkgrel=1
 pkgdesc='Cryptographic primitives for OCaml'
 arch=('i686' 'x86_64')
 url="http://pauillac.inria.fr/~xleroy/software.html#cryptokit"
 license=('LGPL')
 depends=('ocaml' 'ocaml-findlib')
-source=('http://forge.ocamlcore.org/frs/download.php/639/cryptokit-1.5.tar.gz')
-md5sums=('4393bf2b20f8e18eb732c078d582d5ec')
+source=('http://forge.ocamlcore.org/frs/download.php/891/cryptokit-1.6.tar.gz')
+md5sums=('341a4ca2db7fc7755b08d2e54a6874e1')
 
 build() {
     cd "$srcdir/${srcname}-${pkgver}"

ocaml-deriving-ocsigen/PKGBUILD

 
 srcname='deriving-ocsigen'
 pkgname="ocaml-${srcname}"
-pkgver='0.3b'
+pkgver='0.3c'
 pkgrel=1
 pkgdesc='Extension to OCaml for deriving functions from type declarations'
 arch=('i686' 'x86_64')
 makedepends=('ocaml-findlib')
 options=('!strip')
 source=("http://ocsigen.org/download/${srcname}-${pkgver}.tar.gz")
-md5sums=('485b0e1f317bd7829afa12a8bccf3dec')
+md5sums=('fec1ca031fc988034e2b681d62da60e8')
 
 build() {
   cd "$srcdir/${srcname}-${pkgver}"

ocaml-findlib/PKGBUILD

-# Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
 # Contributor: Sebastian Wiesner <lunaryorn googlemail com>
 # Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org>
-#              scj <scj archlinux us>
+# Contributor: scj <scj archlinux us>
+
 pkgname=ocaml-findlib
-pkgver=1.2.7
+pkgver=1.3.3
 pkgrel=1
 license=('MIT')
 arch=('i686' 'x86_64')
-pkgdesc="Objective Caml (OCaml) package manager"
-url="http://projects.camlcity.org/projects/findlib.html"
+pkgdesc='Objective Caml (OCaml) package manager'
+url='http://projects.camlcity.org/projects/findlib.html'
 depends=('ocaml')
 source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
-md5sums=('000bff723e8d3d727a7edd5b5901b540')
 options=('!strip' 'zipman') # otherwise the bytecode gets broken
+md5sums=('a4c22ad5e0d38367a73cf58a25fcbebd')
 
 build() {
-  cd $srcdir/findlib-$pkgver
-  ./configure\
-      -config /etc/findlib.conf \
-      -sitelib /usr/lib/ocaml \
-      -mandir /usr/share/man
+  cd "$srcdir/findlib-$pkgver"
+
+  ./configure -config /etc/findlib.conf -sitelib /usr/lib/ocaml -mandir /usr/share/man
   make all opt
 }
 
 package () {
-  cd $srcdir/findlib-$pkgver
-  make prefix=$pkgdir install 
+  cd "$srcdir/findlib-$pkgver"
 
-  # Add the old site-lib to the path to maintain compatability with old style
-  # packages.
-  sed -i 's/path=\"\/usr\/lib\/ocaml\"/path="\/usr\/lib\/ocaml:\/usr\/lib\/ocaml\/site-lib"/' ${pkgdir}/etc/findlib.conf
+  make prefix="$pkgdir" install 
+
+  # add the old site-lib to the path to maintain compatibility with old style packages
+  sed -i 's/path=\"\/usr\/lib\/ocaml\"/path="\/usr\/lib\/ocaml:\/usr\/lib\/ocaml\/site-lib"/' \
+    "${pkgdir}/etc/findlib.conf"
 
   install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

ocaml-js_of_ocaml/Makefile.patch

---- Makefile	2011-07-15 10:35:37.000000000 -0400
-+++ Makefile	2011-08-28 22:43:23.000000000 -0400
-@@ -32,7 +32,7 @@
+--- Makefile.orig	2012-02-24 15:45:29.000000000 -0500
++++ Makefile	2012-02-29 20:51:19.052093856 -0500
+@@ -31,7 +31,7 @@
  
  VERSION := $(shell head -n 1 VERSION)
  install:
--	ocamlfind install -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(NATIMPL) $(OTHERS) $(DOC)
-+	ocamlfind install -ldconf ignore -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(NATIMPL) $(OTHERS) $(DOC)
+-	ocamlfind install -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(OTHERS) $(DOC)
++	ocamlfind install -ldconf ignore -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(OTHERS) $(DOC)
  	install -d -m 755 $(BINDIR)
  	install $(BIN) $(BINDIR)
  

ocaml-js_of_ocaml/PKGBUILD

 
 srcname='js_of_ocaml'
 pkgname="ocaml-${srcname}"
-pkgver='1.0.9'
+pkgver='1.2'
 pkgrel=1
 pkgdesc='A compiler of OCaml bytecode to Javascript'
 arch=('i686' 'x86_64')
 options=('!strip')
 source=("http://ocsigen.org/download/${srcname}-${pkgver}.tar.gz"
         'Makefile.patch')
-md5sums=('e3ddba862f046859eb0d0456853d195a'
-         '48a526ad28a07336bb58d31a92cd6d51')
+md5sums=('e6bed42fdb4b851049488fade3b2795e'
+         '95866df5f78499361539c4cafb6f60e6')
 
 build() {
   cd "${srcdir}/${srcname}-${pkgver}"

ocaml-lambda-term/PKGBUILD

 
 srcname='lambda-term'
 pkgname="ocaml-${srcname}"
-pkgver=1.1
+pkgver='1.2'
 pkgrel=1
 pkgdesc='A cross-platform library for manipulating the terminal'
 arch=('i686' 'x86_64')
 license=('BSD')
 depends=('ocaml' 'ocaml-lwt' 'ocaml-react' 'ocaml-zed')
 makedepends=('ocaml-findlib')
-source=('http://forge.ocamlcore.org/frs/download.php/673/lambda-term-1.1.tar.gz')
+source=('http://forge.ocamlcore.org/frs/download.php/945/lambda-term-1.2.tar.gz')
 options=('!strip')
-md5sums=('b79eab17f609db4fc07c21cbd1b0fe9e')
+md5sums=('6460d4579245fb4667437bdfc2db6f61')
 
 build() {
     cd "$srcdir/${srcname}-${pkgver}"

ocaml-lwt/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
-srcname=lwt
+srcname='lwt'
 pkgname="ocaml-$srcname"
-pkgver=2.3.1
-pkgrel=9999
+pkgver='2.4.2'
+pkgrel=1
 pkgdesc="A library for cooperative threads in OCaml"
 arch=('i686' 'x86_64')
 url="http://ocsigen.org/lwt/"
 license=('LGPL')
-depends=('ocaml' 'ocaml-compiler-libs' 'ocaml-findlib' 'ocaml-react' 'libev' 'ocaml-ssl' 'ocaml-text')
+depends=('ocaml' 'ocaml-findlib' 'ocaml-react' 'libev' 'ocaml-ssl' 'ocaml-text')
 source=("http://ocsigen.org/download/$srcname-$pkgver.tar.gz")
-md5sums=('fb7f3600a075c94a94eacf2464c09feb')
+md5sums=('0d6eeaa295d62aefaf39e034460bc7b4')
 conflicts=('lwt')
 
 build() {
   cd "${srcdir}/${srcname}-${pkgver}"
+
+  echo '<src/top/*.*>: use_compiler_libs' >> _tags
   ./configure --prefix /usr --destdir "$pkgdir" --enable-all
 
   env DESTDIR="$pkgdir" \

ocaml-ocsigenserver/PKGBUILD

 
 srcname='ocsigenserver'
 pkgname="ocaml-${srcname}"
-pkgver='2.0.2'
+pkgver='2.1'
 pkgrel=1
 pkgdesc='An extensible Web server written in OCaml'
 arch=('i686' 'x86_64')
 url='http://ocsigen.org/'
 license=('LGPL')
-depends=('ocaml' 'ocaml-ssl' 'ocamlnet' 'ocaml-react' 'ocaml-lwt' 'ocaml-cryptokit' 'ocaml-tyxml>=2.0.1')
+depends=('ocaml' 'ocaml-ssl' 'ocamlnet' 'ocaml-react' 'ocaml-lwt' 'ocaml-cryptokit' 'ocaml-sqlite3' 'ocaml-tyxml>=2.1')
 makedepends=('ocaml-findlib')
 provides="ocaml-${srcname}"
 conflicts="ocaml-${srcname}"
 install="${pkgname}.install"
 source=("http://ocsigen.org/download/${srcname}-${pkgver}.tar.gz"
         'etc_rc.d_ocsigenserver')
-md5sums=('5e7a704f610122d2d3bcb24f7bb8aae7'
+md5sums=('d0cccecbfac701eeeee0ad48d743f3d0'
          '05f58d659568d953266f4b838c1b00ed')
 
 build() {
-  cd "$srcdir/${srcname}-${pkgver//_/-}"
+  cd "$srcdir/${srcname}-${pkgver%a}"
   chmod +x configure
   ./configure --prefix /usr \
               --temproot "$pkgdir" \
               --ocsigen-user root \
               --ocsigen-group root \
-              --staticpagesdir "/srv/${srcname}"
+              --staticpagesdir "/srv/${srcname}" \
+              --with-sqlite --without-dbm
 
   make
   make doc
 package() {
   mkdir -p "${pkgdir}/$(ocamlfind printconf destdir)"
 
-  cd "$srcdir/${srcname}-${pkgver}"
-  make install
+  cd "$srcdir/${srcname}-${pkgver%a}"
+  make install || true
   make install.doc
 
   mkdir -p "${pkgdir}/etc/rc.d"

ocaml-ounit/PKGBUILD

-# Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
+# Maintainer: Serge Zirukin <ftrvxmtrx@gmail.com>
+# Contributor: Sergei Lebedev <superbobry@gmail.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
 # Contributor: Sebastian Wiesner <lunaryorn googlemail com>
 # Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org>
 #              Sylvester Johansson <syljo361(at)gmail(dot)org>
+
 pkgname=ocaml-ounit
-pkgver=1.1.0
-pkgrel=4
+_pkgname=ounit
+pkgver=1.1.2
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('MIT')
 pkgdesc="Unit testing framework for OCaml"
-url="http://ounit.forge.ocamlcore.org/index.php"
+url="http://ounit.forge.ocamlcore.org"
 depends=('ocaml')
 makedepends=('ocaml-findlib')
 options=('!strip')
-source=("https://forge.ocamlcore.org/frs/download.php/495/ounit-${pkgver}.tar.gz")
-md5sums=('bf82bd7f8853cd9a1aff7be716192643')
-
-_OCAMLFIND_DESTDIR="${pkgdir}/usr/lib/ocaml"
+source=("http://forge.ocamlcore.org/frs/download.php/886/$_pkgname-$pkgver.tar.gz")
+md5sums=('14e4d8ee551004dbcc1607f438ef7d83')
 
 build() {
-  cd "${srcdir}/ounit-${pkgver}"
-  ocaml setup.ml -configure --destdir "${pkgdir}"
-  ocaml setup.ml -build
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  ./configure --disable-debug --prefix /usr --destdir "$pkgdir"
+  make all
 }
 
 package() {
-  cd "${srcdir}/ounit-${pkgver}"
-  mkdir -p $_OCAMLFIND_DESTDIR
-  env OCAMLFIND_DESTDIR=$_OCAMLFIND_DESTDIR \
-      ocaml setup.ml -install
-  install -Dm 644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+  cd "$srcdir/$_pkgname-$pkgver"
+  export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
+  install -dm 755 "$OCAMLFIND_DESTDIR"
+  make install
+  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

ocaml-text/PKGBUILD

 
 srcname='ocaml-text'
 pkgname="${srcname}"
-pkgver=0.5
+pkgver='0.6'
 pkgrel=1
 pkgdesc='A library for dealing with text in a convenient way'
 arch=('i686' 'x86_64')
 license=('BSD')
 depends=('ocaml>=3.11.0')
 makedepends=('ocaml-findlib')
-source=('http://forge.ocamlcore.org/frs/download.php/641/ocaml-text-0.5.tar.gz')
+source=('http://forge.ocamlcore.org/frs/download.php/937/ocaml-text-0.6.tar.gz')
 options=('!strip')
-md5sums=('5f004642ba19c1710ade13d46e2c1df2')
+md5sums=('86e4cb5849a01a34c21fad065501d696')
 
 build() {
     cd "$srcdir/${srcname}-${pkgver}"

ocaml-tyxml/PKGBUILD

 
 srcname='tyxml'
 pkgname="ocaml-${srcname}"
-pkgver='2.0.1'
+pkgver='2.1'
 pkgrel=1
 pkgdesc='OCaml library that allows you to build XML trees whose validity is ensured by the typechecker'
 arch=('i686' 'x86_64')
 makedepends=('ocaml-findlib')
 source=("http://ocsigen.org/download/${srcname}-${pkgver}.tar.gz")
 options=('!strip')
-md5sums=('102eb8032c2f8595b086d0dda9f85d3e')
+md5sums=('d08f6864c444d8409b70edb68f0683ab')
 
 build() {
     cd "$srcdir/${srcname}-${pkgver}"

ocaml-utop/PKGBUILD

 
 srcname='utop'
 pkgname="ocaml-${srcname}"
-pkgver=1.1
-pkgrel=3
+pkgver='1.2.1'
+pkgrel=1
 pkgdesc='A toplevel for OCaml that supports completion, colors, and parenthesis matching'
 arch=('i686' 'x86_64')
 url='http://forge.ocamlcore.org/projects/utop/'
 license=('BSD')
-depends=('ocaml' 'ocaml-compiler-libs' 'ocaml-lwt' 'ocaml-lambda-term')
+depends=('ocaml>=4.00.0' 'ocaml-lwt' 'ocaml-lambda-term')
 makedepends=('ocaml-findlib')
-source=('https://forge.ocamlcore.org/frs/download.php/674/utop-1.1.tar.gz')
+source=('http://forge.ocamlcore.org/frs/download.php/951/utop-1.2.1.tar.gz')
 options=('!strip')
-md5sums=('dc60c8449cb05eb1f85dd99222034979')
+md5sums=('ace3b8347c7238c0978a907af72f40c4')
 
 build() {
     cd "$srcdir/${srcname}-${pkgver}"

ocaml-zed/PKGBUILD

 
 srcname='zed'
 pkgname="ocaml-${srcname}"
-pkgver=1.1
+pkgver='1.2'
 pkgrel=1
 pkgdesc='An abstract engine for text editing'
 arch=('i686' 'x86_64')
 license=('BSD')
 depends=('ocaml' 'ocaml-camomile' 'ocaml-react')
 makedepends=('ocaml-findlib')
-source=('http://forge.ocamlcore.org/frs/download.php/672/zed-1.1.tar.gz')
+source=('http://forge.ocamlcore.org/frs/download.php/944/zed-1.2.tar.gz')
 options=('!strip')
-md5sums=('3c2fc2b9757417dc225509ea88edcaa0')
+md5sums=('c5e2a5e223a7ed39faf74512343cef11')
 
 build() {
     cd "$srcdir/${srcname}-${pkgver}"
 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
-pkgbase='ocaml'
-pkgname=("${pkgbase}" "${pkgbase}-compiler-libs")
-pkgver=3.12.1
-pkgrel=9999
+pkgname='ocaml'
+pkgver='4.00.0'
+pkgrel=1
 pkgdesc="A functional language with OO extensions"
 arch=('i686' 'x86_64')
 license=('custom: QPL-1.0'      # compiler and toolchain
 depends=('gdbm')
 makedepends=('tk' 'ncurses' 'libx11')
 optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features')
-source=("http://caml.inria.fr/distrib/ocaml-3.12/${pkgbase}-${pkgver}.tar.gz")
-md5sums=('814a047085f0f901ab7d8e3a4b7a9e65')
+source=("http://caml.inria.fr/distrib/ocaml-4.00/${pkgname}-${pkgver}.tar.gz")
+md5sums=('fa11560a45793bd9fa45c1295a6f4a91')
 options=('!makeflags' '!strip')
 
 build() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
   ./configure -prefix /usr
 
 }
 
 package_ocaml() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make PREFIX="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man" install
 
   # install license
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgbase}"
-  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgbase}/"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
 }
-
-package_ocaml-compiler-libs() {
-  pkgdesc="Several modules used internally by the OCaml compiler"
-  license=('custom: QPL-1.0')
-  depends=('ocaml')
-  optdepends=()
-
-  local compiler_libs="${pkgdir}/usr/lib/ocaml/compiler-libs"
-
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-
-  mkdir -p "$compiler_libs"/{parsing,typing,utils}
-  cp parsing/*.{cmi,cmo,cmx,ml,mli,mll,o} "$compiler_libs"/parsing
-  cp typing/*.{cmi,cmo,cmx,ml,mli,o} "$compiler_libs"/typing
-  cp utils/*.{cmi,cmo,cmx,ml,mli,o} "$compiler_libs"/utils
-
-  # duplicated by installation
-  rm -f "$compiler_libs"/typing/outcometree.{cmi,mli}
-}

ocamlnet/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='ocamlnet'
-pkgver='3.4.1'
+pkgver='3.6'
 pkgrel=1
 pkgdesc="OCaml libraries for web and Internet programming."
 arch=('i686' 'x86_64')
 url="http://projects.camlcity.org/projects/ocamlnet.html"
 license=('GPL' 'LGPL')
-depends=('ocaml' 'ocaml-findlib' 'pcre-ocaml')
+depends=('ocaml' 'ocaml-findlib' 'ocaml-pcre' 'ocaml-ssl' 'ocaml-cryptokit')
 options=('!strip')
 install=ocamlnet.install
 source=("http://download.camlcity.org/download/$pkgname-$pkgver.tar.gz")
-md5sums=('34e077c532691c02e506901234c184bc')
+md5sums=('c6a42744c456b3b336c7613f5481650a')
 
 build(){
   cd "$srcdir/$pkgname-$pkgver"
 
-  ./configure
-  make -j1 all opt || return 1
+  ./configure -enable-pcre -enable-ssl -enable-crypto -with-nethttpd
+  make -j1 all opt
 }
 
 package(){

swi-prolog-devel/PKGBUILD

 # Maintainer: Taylor Venable <taylor@metasyntax.net>
 
 pkgname='swi-prolog-devel'
-pkgver='6.1.1'
+pkgver='6.3.3'
 pkgrel=1
 pkgdesc='Prolog environment (development version)'
 arch=('i686' 'x86_64')
             'libxft: for using the pl2xpce library')
 options=('!makeflags')
 source=("http://www.swi-prolog.org/download/devel/src/pl-${pkgver}.tar.gz")
-md5sums=('420b122d24480d14058508291f5691bc')
+sha256sums=('6ea09e5a07eb80f6eee49282ed669f9ef89a86443b58061677345e17675041d1')
 
 build() {
-  cd pl-${pkgver}
+    cd pl-${pkgver}
 
-  # enable shared because x86 doesn't build with shared libs, upstream made it intentional...
-  ./configure \
-    --prefix=/usr \
-    --with-world \
-    --enable-shared
+    # enable shared because x86 doesn't build with shared libs, upstream made it intentional...
 
-  make
+    ./configure                                 \
+        --prefix=/usr                           \
+        --with-world                            \
+        --enable-shared
+
+    make
 }
 
 package() {
-  cd pl-${pkgver}
+    cd pl-${pkgver}
 
-  make DESTDIR=${pkgdir} install
+    make DESTDIR=${pkgdir} install
 
-  # fix https://bugs.archlinux.org/task/20873
-  chmod +x ${pkgdir}/usr/lib/swipl-${pkgver}/library/dialect/sicstus/swipl-lfr.pl
+    # fix https://bugs.archlinux.org/task/20873
+    chmod +x ${pkgdir}/usr/lib/swipl-${pkgver}/library/dialect/sicstus/swipl-lfr.pl
 }
+
+## Local Variables:
+## mode: sh
+## End:
-# Maintainer: Taylor Venable <taylor@metasyntax.net>
-# Copied almost verbatim from extra/vim (which see).
+# $Id: PKGBUILD 169487 2012-10-22 02:10:39Z tdziedzic $
+# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
+# Maintainer: tobias [ tobias at archlinux org ]
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
 
 pkgbase=vim
-pkgname=(vim gvim vim-runtime)
+pkgname=('vim' 'gvim' 'vim-runtime')
 _topver=7.3
-_patchlevel=475
+_patchlevel=709
+__hgrev=06e088d016ad
+_versiondir="vim${_topver//./}"
 pkgver=${_topver}.${_patchlevel}
-__hgrev=v7-3-${_patchlevel}
 pkgrel=1
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url="http://www.vim.org"
-makedepends=('gpm' 'perl' 'python2>=2.7.1' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2'
-             'gettext' 'pkgconfig' 'mercurial' 'rsync' 'sed')
-source=(pythoncomplete.vim::http://www.vim.org/scripts/download_script.php\?src_id=10872
-        vimrc archlinux.vim gvim.desktop)
-md5sums=('6e7adfbd5d26c1d161030ec203a7f243'
+makedepends=('gpm' 'python2' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2' 'lua')
+source=("vim-${pkgver}.tar.xz"
+        'pythoncomplete.vim::http://www.vim.org/scripts/download_script.php?src_id=10872'
+        'vimrc'
+        'archlinux.vim'
+        'gvim.desktop')
+md5sums=('a1fd2ce42b04546ec79c905a652bcc32'
+         '6e7adfbd5d26c1d161030ec203a7f243'
          'e57777374891063b9ca48a1fe392ac05'
          '10353a61aadc3f276692d0e17db1478e'
-         '4b83e5fe0e534c53daaba91dd1cd4cbb')
+         'd90413bd21f400313a785bb4010120cd')
 
-__hgroot='http://vim.googlecode.com/hg/'
-__hgrepo='vim'
-__hgbranch='default'
+# source PKGBUILD && mksource
+mksource() {
 
-_versiondir="vim${_topver//./}"
+  [[ -x /usr/bin/hg ]] || (echo "hg not found. Install mercurial." && return 1)
 
-##### Build #####
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} "${__hgroot}${__hgrepo}" ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n) < $(hg id -nr ${__hgbranch}) )); then
+    printf 'You are not building the latest revision!\n'
+    printf "Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n"
+  fi
+  popd
+
+  mv vim ${pkgname}-${pkgver}
+  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
+  rm -r ${pkgname}-${pkgver}
+  #gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz
+}
 
 build() {
-  cd ${srcdir}
-
-  msg2 'Checking out source from Mercurial...'
-
-  if [[ -d ${__hgrepo} ]]; then
-    cd ${__hgrepo}
-    hg pull -b ${__hgbranch}|| warning 'hg pull failed!'
-    hg update -r ${__hgrev}
-  else
-    hg clone -b ${__hgbranch} -u ${__hgrev} "${__hgroot}${__hgrepo}" ${__hgrepo}
-    cd ${__hgrepo}
-  fi
-
-  if (( $(hg id -n) < $(hg id -nr ${__hgbranch}) )); then
-    warning 'You are not building the latest revision!'
-    warning "Consider updating __hgrev to $(hg id -r ${__hgbranch})."
-    sleep 10
-  fi
-
-  cd ..
-  rm -rf vim-build gvim-build
-  rsync -a --exclude='.hg/' ${__hgrepo}/ vim-build
-
-  msg2 'Patching...'
+  cp -a ${pkgname}-${pkgver} vim-build
 
   # define the place for the global (g)vimrc file (set to /etc/vimrc)
   sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*"\) .*$|\1|' \
     vim-build/src/configure.in
   (cd vim-build/src && autoconf)
 
-  msg2 'Building...'
-
   cp -a vim-build gvim-build
 
-  cd ${srcdir}/vim-build
+  cd "${srcdir}"/vim-build
 
   ./configure --prefix=/usr --localstatedir=/var/lib/vim \
-    --mandir=/usr/share/man --with-compiledby='Taylor Venable <taylor@metasyntax.net>' \
-    --with-features=big --enable-gpm --enable-acl --with-x=no \
+    --with-features=big --with-compiledby=ArchLinux \
+    --enable-gpm --enable-acl --with-x=no \
     --disable-gui --enable-multibyte --enable-cscope \
     --disable-netbeans --enable-perlinterp --disable-pythoninterp \
-    --disable-rubyinterp
+    --disable-python3interp --disable-rubyinterp --disable-luainterp
 
   make
 
-  cd ${srcdir}/gvim-build
+  cd "${srcdir}"/gvim-build
 
   ./configure --prefix=/usr --localstatedir=/var/lib/vim \
-    --mandir=/usr/share/man --with-compiledby='Taylor Venable <taylor@metasyntax.net>' \
-    --with-features=big --enable-gpm --enable-acl --with-x=yes \
+    --with-features=big --with-compiledby=ArchLinux \
+    --enable-gpm --enable-acl --with-x=yes \
     --enable-gui=gtk2 --enable-multibyte --enable-cscope \
     --enable-netbeans --enable-perlinterp --enable-pythoninterp \
-    --enable-rubyinterp
+    --disable-python3interp --enable-rubyinterp --enable-luainterp
 
   make
 }
 
-##### Packaging #####
+check() {
+  # disable tests because they seem to freeze
+
+  cd "${srcdir}"/vim-build
+
+  #make test
+
+  cd "${srcdir}"/gvim-build
+
+  #make test
+}
 
 package_vim() {
   pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor'
-  depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm' 'perl')
+  depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm')
   conflicts=('gvim')
 
-  cd ${srcdir}/vim-build
-  make -j1 VIMRCLOC=/etc DESTDIR=${pkgdir} install
+  cd "${srcdir}"/vim-build
+  make -j1 VIMRCLOC=/etc DESTDIR="${pkgdir}" install
 
   # provided by (n)vi in core
-  rm ${pkgdir}/usr/bin/{ex,view}
+  rm "${pkgdir}"/usr/bin/{ex,view}
 
   # delete some manpages
-  find ${pkgdir}/usr/share/man -type d -name 'man1' 2>/dev/null | \
+  find "${pkgdir}"/usr/share/man -type d -name 'man1' 2>/dev/null | \
     while read _mandir; do
     cd ${_mandir}
     rm -f ex.1 view.1 # provided by (n)vi
   done
 
   # Runtime provided by runtime package
-  rm -r ${pkgdir}/usr/share/vim
+  rm -r "${pkgdir}"/usr/share/vim
 
   # license
-  install -dm755 ${pkgdir}/usr/share/licenses/vim
-  ln -s /usr/share/vim/${_versiondir}/doc/uganda.txt \
-    ${pkgdir}/usr/share/licenses/vim/license.txt
+  install -Dm644 "${srcdir}"/vim-${pkgver}/runtime/doc/uganda.txt \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
 }
 
 package_gvim() {
   pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor (with advanced features, such as a GUI)'
-  depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm' 'perl' 'python2>=2.7.1' 'ruby' 'libxt'
-           'desktop-file-utils' 'gtk2')
+  depends=("vim-runtime=${pkgver}-${pkgrel}" 'gpm' 'ruby' 'libxt'
+           'desktop-file-utils' 'gtk2' 'lua' 'python2')
   provides=("vim=${pkgver}-${pkgrel}")
   conflicts=('vim')
   install=gvim.install
 
-  cd ${srcdir}/gvim-build
-  make -j1 VIMRCLOC=/etc DESTDIR=${pkgdir} install
+  cd "${srcdir}"/gvim-build
+  make -j1 VIMRCLOC=/etc DESTDIR="${pkgdir}" install
 
   # provided by (n)vi in core
-  rm ${pkgdir}/usr/bin/{ex,view}
+  rm "${pkgdir}"/usr/bin/{ex,view}
 
   # delete some manpages
-  find ${pkgdir}/usr/share/man -type d -name 'man1' 2>/dev/null | \
+  find "${pkgdir}"/usr/share/man -type d -name 'man1' 2>/dev/null | \
     while read _mandir; do
     cd ${_mandir}
     rm -f ex.1 view.1 # provided by (n)vi
   done
 
   # Move the runtime for later packaging
-  mv ${pkgdir}/usr/share/vim ${srcdir}/runtime-install
+  mv "${pkgdir}"/usr/share/vim "${srcdir}"/runtime-install
 
   # freedesktop links
-  install -Dm644 ${srcdir}/gvim.desktop \
-    ${pkgdir}/usr/share/applications/gvim.desktop
-  install -Dm644 runtime/vim48x48.png ${pkgdir}/usr/share/pixmaps/gvim.png
+  install -Dm644 "${srcdir}"/gvim.desktop \
+    "${pkgdir}"/usr/share/applications/gvim.desktop
+  install -Dm644 runtime/vim48x48.png "${pkgdir}"/usr/share/pixmaps/gvim.png
 
   # license
-  install -dm755 ${pkgdir}/usr/share/licenses/gvim
-  ln -s /usr/share/vim/${_versiondir}/doc/uganda.txt \
-    ${pkgdir}/usr/share/licenses/gvim/license.txt
+   install -Dm644 "${srcdir}"/vim-${pkgver}/runtime/doc/uganda.txt \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
 }
 
 package_vim-runtime() {
   pkgdesc='Runtime for vim and gvim'
-  backup=(etc/vimrc)
+  depends=('perl' 'gawk')
+  backup=('etc/vimrc')
 
   # Install the runtime split from gvim
-  install -dm755 ${pkgdir}/usr/share
-  mv ${srcdir}/runtime-install ${pkgdir}/usr/share/vim
+  install -dm755 "${pkgdir}"/usr/share
+  mv "${srcdir}"/runtime-install "${pkgdir}"/usr/share/vim
 
   # Don't forget logtalk.dict
-  install -Dm644 ${srcdir}/gvim-build/runtime/ftplugin/logtalk.dict \
-    ${pkgdir}/usr/share/vim/${_versiondir}/ftplugin/logtalk.dict
+  install -Dm644 "${srcdir}"/gvim-build/runtime/ftplugin/logtalk.dict \
+    "${pkgdir}"/usr/share/vim/${_versiondir}/ftplugin/logtalk.dict
 
   # fix FS#17216
   sed -i 's|messages,/var|messages,/var/log/messages.log,/var|' \
-    ${pkgdir}/usr/share/vim/${_versiondir}/filetype.vim
+    "${pkgdir}"/usr/share/vim/${_versiondir}/filetype.vim
 
   # patch filetype.vim for better handling of pacman related files
   sed -i "s/rpmsave/pacsave/;s/rpmnew/pacnew/;s/,\*\.ebuild/\0,PKGBUILD*,*.install/" \
-    ${pkgdir}/usr/share/vim/${_versiondir}/filetype.vim
+    "${pkgdir}"/usr/share/vim/${_versiondir}/filetype.vim
   sed -i "/find the end/,+3{s/changelog_date_entry_search/changelog_date_end_entry_search/}" \
-    ${pkgdir}/usr/share/vim/${_versiondir}/ftplugin/changelog.vim
+    "${pkgdir}"/usr/share/vim/${_versiondir}/ftplugin/changelog.vim
 
   # make Aaron happy
-  install -Dm644 ${srcdir}/pythoncomplete.vim \
-    ${pkgdir}/usr/share/vim/${_versiondir}/autoload/pythoncomplete.vim
+  install -Dm644 "${srcdir}"/pythoncomplete.vim \
+    "${pkgdir}"/usr/share/vim/${_versiondir}/autoload/pythoncomplete.vim
   
   # rc files
-  install -Dm644 ${srcdir}/vimrc ${pkgdir}/etc/vimrc
-  install -Dm644 ${srcdir}/archlinux.vim \
-    ${pkgdir}/usr/share/vim/vimfiles/archlinux.vim
+  install -Dm644 "${srcdir}"/vimrc "${pkgdir}"/etc/vimrc
+  install -Dm644 "${srcdir}"/archlinux.vim \
+    "${pkgdir}"/usr/share/vim/vimfiles/archlinux.vim
+
+  # rgb.txt file
+  install -Dm644 "${srcdir}"/vim-${pkgver}/runtime/rgb.txt \
+    "${pkgdir}"/usr/share/vim/${_versiondir}/rgb.txt
 
   # license
-  install -dm755 ${pkgdir}/usr/share/licenses/vim-runtime
+  install -dm755 "${pkgdir}"/usr/share/licenses/vim-runtime
   ln -s /usr/share/vim/${_versiondir}/doc/uganda.txt \
-    ${pkgdir}/usr/share/licenses/vim-runtime/license.txt
+    "${pkgdir}"/usr/share/licenses/vim-runtime/license.txt
 }
 
 # vim:set sw=2 sts=2 et:
 [Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Name=gVim
-Name[eo]=VIM-fasado
-Name[sv]=gVim
-Name[xx]=xx
-Comment=GTK2 enhanced vim text editor
-Comment[ar]=محرر نصوص
-Comment[bg]=Текст Редактор
-Comment[de]=Texteditor
-Comment[el]=Διορθωτής Κειμένου
-Comment[eo]=Tekstredaktilo
-Comment[et]=Tekstiredaktor
-Comment[eu]=Testu Editorea
-Comment[fi]=Tekstieditori
-Comment[he]=עורך טקסט
-Comment[is]=Textaritill
-Comment[ja]=テキストエディタ
-Comment[lt]=Teksto redaktorius
-Comment[mt]=Editur tat-test
-Comment[pt_BR]=Editor de Texto
-Comment[ro]=Editor de text
-Comment[ru]=редактор
-Comment[sk]=Textový editor
-Comment[sl]=Urejevalnik besedil
-Comment[ta]=¯¨Ã ¦¾¡ÌôÀ¡Ç÷
-Comment[tr]=Metin Düzenleyici
-Comment[uk]=Редактор текстів
-Comment[vi]=Trình soạn văn bản
-Comment[xx]=xx
-Comment[zh_CN]=文本编辑器
-Comment[zh_TW]=文字編輯器
-GenericName=Text Editor
+Name=Vi IMproved
+Name[bg]=Vi Ðåäàêòîð
+Name[ca]=Vi Millorat
+Name[da]=Vi forbedret
+Name[eo]=VIM
+Name[et]=Täiustatud Vi (vim)
+Name[fr]=Vi étendu (VIM)
+Name[he]=רפושמ Vi
+Name[hu]=Vi
+Name[is]=Vi IMproved ritillinn
+Name[it]=Vi iMproved
+Name[no]=Vi IMproved (forbedret VI)
+Name[pl]=Poprawiony VI (vim)
+Name[ro]=VIM
+Name[ru]=Улучшенный VI
+Name[sk]=Vi IMpreved
+Name[sl]=Izboljšani vi (vim)
+Name[sv]=Förbättrad Vi
+Name[zh_CN.GB2312]=改进的 Vi
+Comment=Powerful text editor with scripting functions and macro recorder
+Comment[bg]=Ðåäàêòîð ñ ìíîãî âúçìîæíîñòè
+Comment[ca]=Editor vi potent
+Comment[cs]=Mocný textový editor vi
+Comment[da]=En kraftig vi tekstbehandler
+Comment[de]=Ein leistungsfähiger vi-Editor
+Comment[el]=Πανίσχυρος διορθωτής vi
+Comment[eo]=VIM similas al redaktilo "vi", sed havas aldonajn ecojn
+Comment[es]=Una versión mejorada del editor vi
+Comment[et]=Võimas tekstiredaktor vi
+Comment[fi]=Tehokas vi-tekstieditori
+Comment[fr]=Éditeur vi puissant
+Comment[gl]=Potente editor vi
+Comment[he]=Vi המצועה בר ךרועה
+Comment[hr]=Napredni vi uređivač
+Comment[hu]=Vi szövegszerkesztő
+Comment[is]=Öflug útgáfa vi ritilsins
+Comment[it]=Un editor vi potenziato
+Comment[ja]=強力なViエディタ
+Comment[lt]=Galingas vi redaktorius
+Comment[mk]=Моќен VI уредувач
+Comment[nl]=Krachtige vi-editor
+Comment[no]=En kraftig vi-redigerer
+Comment[no_NY]=Kraftig vi-tekstredigeringsprogram
+Comment[pl]=Edytor vi
+Comment[pt]=Um poderoso editor de texto
+Comment[ro]=Un editor de texte VI, puternic
+Comment[ru]=Мощный текстовый редактор vi
+Comment[sk]=Silný textový procesor vi
+Comment[sl]=Zmogljivi urejevalnik vi
+Comment[sr]=Moćni vi editor
+Comment[sv]=En kraftfull texteditor
+Comment[ta]=ºì¾¢Å¡öó¾ vi ¦¾¡ÌôÀ¡Ç÷
+Comment[tr]=Güçlü vi düzenleyicisi
+Comment[uk]=Потужний редактор vi
+Comment[zh_CN.GB2312]=功能强大的 vi 编辑器
+MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
+Exec=gvim -f %F
+Icon=gvim
 Type=Application
-TryExec=gvim
-Exec=gvim %u
-Icon=gvim
 Terminal=false
-X-MultipleArgs=false
-Categories=GTK;Application;Utility;TextEditor;
-MimeType=application/mathml+xml;application/xhtml+xml;application/x-perl;application/x-python;application/x-shellscript;audio/x-mpegurl;audio/x-scpls;image/svg+xml;message/news;message/rfc822;text/calendar;text/css;text/english;text/html;text/mrml;text/plain;text/rdf;text/rss;text/rtf;text/sgml;text/vnd.wap.wml;text/x-adasrc;text/x-bibtex;text/x-chdr;text/x-c++hdr;text/x-csrc;text/x-c++src;text/x-c;text/x-objc;text/x-csv;text/x-diff;text/x-java;text/x-katefilelist;text/x-latex;text/x-log;text/x-lyx;text/x-makefile;text/xmcd;text/xml;text/x-moc;text/x-mswinurl;text/x-objcsrc;text/x-pascal;text/x-perl;text/x-php;text/x-php-source;text/x-python;text/x-tcl;text/x-tex;text/x-vcalendar;text/x-vcard;text/x-xslfo;text/x-xslt;
+X-XClassHintResName=VIM
+Categories=Utility;TextEditor;
 post_install() {
-  echo -n "Updating desktop and mime database..."
   update-desktop-database -q
-  echo "done."
 }
 
 post_upgrade() {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.